|
-
August 1st, 2012, 04:15 PM
#1
Running netcat with PHP
I'm trying to execute netcat using PHP. I've been stuck in this for hours, tried many different combination such as passthru, exec, system, and shell_exec. I searched Google but no luck so far. I'm just testing to see if I can do anything with netcat sush as tranfering files and reverse shell. I'm able to execute other commands such as ping, ls, whoami, etc. but not netcat. This is what I have so far:
Code:
exec ('nc ip port < file');
I have shell listening for connections but nothing happens. Any help would be really appreciated, thanks in advance!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|