Once Alice is connected Bob will be presented her shell : as you can see I tried some commands to test it Now, we’ll say that Alice is the one who need help, But like you’ve noticed Alice is behined a NAT so she cant just bind her bash and expect Bob to connect, Luckily netcat allows Alice to Send her shell to Bob, so again Bob will just listen Once Alice is connected the second line in the above image will show at Bob’s and Alice will be presented the cmd.exe to play around. note that if you’re not on the same local it has to be The public IP not a private one “refer to the first photo”. She’ll simply connect to Bob’s machine through the defined port Inbrief : -netcat listen verbous verbous to port 1234(or whatever you’ll choose) and execute cmd.exe. Now Bob (windows box) wants Alice to help with something so all bob has to do is bind his shell to a port and Alice will connect to this port Allowing her to control his machine.Īlright so here goes the common scenario : Through “Netcat” that redirects the standard input, output and error to the port rather than the default console. Is mainly a method for remote administration, you could bind an application to a TCP/UDP port, any machine that connects to this box will be presented the application you binded with the same privileges of the user that binded the application.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |