have been looking for Bind shell written in python and i found 2 scripts that look fine and the problem is that i dont know where to put my IP in both scripts in order to listen and get a connection…
console.py is the attacker (the question is where to put my IP)
server.py is the victim (the question is where to put my IP)
wait i don’t understand i i need to write my IP and PORT in both scripts(console.py and server.py)
can u pls tell which line do i need to change to my IP and PORT line 15 it’s my own password( at server.py script )
i need to put my IP and PORT in the console.py script (where, which line) and server.py
In console.py, you don’t put the IP anywhere. You pass it as a command-line argument. The port is set in server.py, and you don’t need to leave your IP in server.py.
Ok so i just need to run :
python console.py (my IP) (PORT ) the password right?
i did it and every time i type this command in the terminal as root of course i got a massage from the script himself “Cannot Connect To Remote Host”
Prior researches on google could have answered your question… I think that remedial courses about binding shell should help you to fully understand this topic. Lastly, avoid using tools / scripts that you don’t really understand … You don’t want to be a skid right ?
I’m sorry if it sounds harsh but this is mind-blowing.
Completely agree. Another side effect is, when you don’t know that the script does, you could just have downloaded malware and run it by your own free will. Nothing worse than that.