Search results for #bashtricks
I'm not sure who needs to hear this: for i in {1..255} ;do echo 2>/dev/null >/dev/tcp/192.168.7.$i/22; if [ $? -eq 0 ]; then echo $i open; else echo $i closed; fi;done #bashtricks
Want to see some shell magic? Just type cd ~ and watch the terminal do its 🪄 #Basics #BashTricks
Do you know that you can pipe output to FFUF tool? This works great if you want to chain multiple tools or just pass the output to fuzz: cat wordlist.txt | ffuf -w - -u target.com/FUZZ #bugbountytip #bashtricks #Hacking
8/ ⚙️ Command Line Arguments: Accept input from users. Access arguments using $1, $2, and so on. Example: ./script.sh arg1 arg2. Get interactive! 💬🤖 #CommandLineArgs #BashTricks
"¿Sabías que puedes usar #Bash para eliminar archivos de más de 30 días? 🗂️💻 Con el comando 'find' y la opción '-mtime +30', puedes encontrar y borrar fácilmente archivos antiguos. ¡Mantén tu sistema limpio y ordenado! #LinuxTips #BashTricks"
Not sure if this counts as #bashTricks or not. The ip command supports different output formats -o is oneline, -j is json, -p is pretty (the default)
Find the interface name for a specific address with ip #bashTricks $ ip -o -4 a | awk '/192.168.7.21/ {print $2}' ens192
Single and Multiple Empty Files Creation in Linux Terminal | touch command #Linux #unix #bashTricks #commands youtu.be/nmmoX4iNUu4 via @YouTube
@moyix Thanks! I've perused the majority but there's always more to know. @egyp7's Defcon talk and #bashtricks tweets are a great primer, as well. Seeing what smart folk do in practice and reverse-engineering new tricks seems like a win for time.
#bashtricks #bugbounty #RECON Grep URLs from a page: curl -s google.com | grep -Eo 'http[s]://[a-zA-Z0-9./?=_%:&-]*'
#bashtricks (#readlinetricks ?) ... If you hate highlighted paste in your prompt like I do: echo "set enable-bracketed-paste off" >> ~/.inputrc
@iagox86 @chriselgee Great thread and reminds me of @egyp7's #bashTricks threads, if I'm #hashtagging properly
#bashtricks - negative wildcards H/T Julian Libiseller-Egger
alias lastmod="find . -type f -exec stat --format '%Y :%y %n' \"{}\" \; | sort -nr | cut -d: -f2-" Recursively find&sort the last modified files in your current directory. Useful for seeing modifications done by a colleague! #bashtricks @nixcraft
#bashtricks ripgrep reference "man rg" I don't why I didn't know about ripgrep (shame on me), is like grep on steroids super faster, matching 5,000 domains into 20 million users csv file with ripgrep in 41 secs vs grep that didn't finish after 1 hr, w00t! #Bugbounty #infosec
Thank you #recon_ng ( @LaNMaSteR53 ) I was able to use your tool as one of my examples in my #BashTricks series for one of the different ways to use standard in ( or stdin ) for the bash shell/scripting 😁 youtu.be/dL8BwRChBc0?t=…
Thank you #recon_ng ( @LaNMaSteR53 ) I was able to use your tool as one of my examples in my #BashTricks series for one of the different ways to use standard in ( or stdin ) for the bash shell/scripting 😁 youtu.be/dL8BwRChBc0?t=…
Worthy of #bashTricks , there's always more to learn.
Worthy of #bashTricks , there's always more to learn.