Skip to content

Commit a728735

Browse files
committed
update readme
1 parent 82c7c73 commit a728735

2 files changed

Lines changed: 40 additions & 40 deletions

File tree

README.md

Lines changed: 39 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ optional arguments:
1919
-f FILE, --file FILE Package list file
2020
--clean Use clean package list, if used 'dpkg-query -W'
2121
--duplicates Show duplicate exploits
22-
--db DB Exploits csv file [default: file.csv]
22+
--db DB Exploits csv file [default: files_exploits.csv]
2323
--update Download latest version of exploits db
2424
-d debian|redhat, --distro debian|redhat
2525
Linux flavor, debian or redhat [default: debian]
@@ -50,7 +50,7 @@ usage examples:
5050
python linux-soft-exploit-suggester.py --file package_list
5151
5252
Specify exploit db:
53-
python linux-soft-exploit-suggester.py --file package_list --db file.cve
53+
python linux-soft-exploit-suggester.py --file package_list --db files_exploits.cve
5454
5555
Use Redhat/Centos format file:
5656
python linux-soft-exploit-suggester.py --file package_list --distro redhat
@@ -70,41 +70,41 @@ usage examples:
7070
```
7171
### Output
7272
```
73-
> python linux-soft-exploit-suggester.py --file packages --db file.csv
73+
> python linux-soft-exploit-suggester.py --file packages --db files_exploits.csv
7474
7575
| _ __ _ _ | _ _ | _ | __ __ __ _ __ | _ _
7676
|·| || |\/ (_ | ||_ |- /_)\/| \|| |·|- (_ | || )| )/_)(_ |- /_)|
7777
||| ||_|/\ __)|_|| |_ \_ /\|_/||_|||_ __)|_||_/ |_/ \_ __) |_ \_ |
7878
| _/ _/
7979
80-
[+] DNSTracer 1.9 - Buffer Overflow - local
81-
From: dnstracer 1.9
82-
File: /usr/share/exploitdb/platforms/linux/local/42424.py
83-
Url: https://www.exploit-db.com/exploits/42424
84-
[+] GNU Wget < 1.18 - Arbitrary File Upload / Remote Code Execution - remote
85-
From: wget 1.17.1
86-
File: /usr/share/exploitdb/platforms/linux/remote/40064.txt
87-
Url: https://www.exploit-db.com/exploits/40064
88-
[+] GNU Screen 4.5.0 - Privilege Escalation (PoC) - local
89-
From: screen 4.3.1
90-
File: /usr/share/exploitdb/platforms/linux/local/41152.txt
91-
Url: https://www.exploit-db.com/exploits/41152
92-
[+] Ghostscript 9.21 - Type Confusion Arbitrary Command Execution (Metasploit) - local
93-
From: ghostscript 9.21
94-
File: /usr/share/exploitdb/platforms/linux/local/41955.rb
95-
Url: https://www.exploit-db.com/exploits/41955
96-
[+] KeepNote 0.7.8 - Command Execution - local
97-
From: keepnote 0.7.8
98-
File: /usr/share/exploitdb/platforms/multiple/local/40440.py
99-
Url: https://www.exploit-db.com/exploits/40440
100-
[+] MAWK 1.3.3-17 - Local Buffer Overflow - local
101-
From: mawk 1.3.3
102-
File: /usr/share/exploitdb/platforms/linux/local/42357.py
103-
Url: https://www.exploit-db.com/exploits/42357
104-
[+] Sudo 1.8.20 - 'get_process_ttyname()' Privilege Escalation - local
105-
From: sudo 1.8.20
106-
File: /usr/share/exploitdb/platforms/linux/local/42183.c
107-
Url: https://www.exploit-db.com/exploits/42183
80+
[!] DNSTracer 1.9 - Buffer Overflow - local
81+
From: dnstracer 1.9
82+
File: /usr/share/exploitdb/platforms/linux/local/42424.py
83+
Url: https://www.exploit-db.com/exploits/42424
84+
[!] GNU Wget < 1.18 - Arbitrary File Upload / Remote Code Execution - remote
85+
From: wget 1.17.1
86+
File: /usr/share/exploitdb/platforms/linux/remote/40064.txt
87+
Url: https://www.exploit-db.com/exploits/40064
88+
[!] GNU Screen 4.5.0 - Privilege Escalation (PoC) - local
89+
From: screen 4.3.1
90+
File: /usr/share/exploitdb/platforms/linux/local/41152.txt
91+
Url: https://www.exploit-db.com/exploits/41152
92+
[!] Ghostscript 9.21 - Type Confusion Arbitrary Command Execution (Metasploit) - local
93+
From: ghostscript 9.21
94+
File: /usr/share/exploitdb/platforms/linux/local/41955.rb
95+
Url: https://www.exploit-db.com/exploits/41955
96+
[!] KeepNote 0.7.8 - Command Execution - local
97+
From: keepnote 0.7.8
98+
File: /usr/share/exploitdb/platforms/multiple/local/40440.py
99+
Url: https://www.exploit-db.com/exploits/40440
100+
[!] MAWK 1.3.3-17 - Local Buffer Overflow - local
101+
From: mawk 1.3.3
102+
File: /usr/share/exploitdb/platforms/linux/local/42357.py
103+
Url: https://www.exploit-db.com/exploits/42357
104+
[!] Sudo 1.8.20 - 'get_process_ttyname()' Privilege Escalation - local
105+
From: sudo 1.8.20
106+
File: /usr/share/exploitdb/platforms/linux/local/42183.c
107+
Url: https://www.exploit-db.com/exploits/42183
108108
109109
...
110110
```
@@ -145,13 +145,13 @@ rpm -qa > package_list
145145
||| ||_|/\ __)|_|| |_ \_ /\|_/||_|||_ __)|_||_/ |_/ \_ __) |_ \_ |
146146
| _/ _/
147147
148-
[+] Sudo 1.8.20 - 'get_process_ttyname()' Privilege Escalation - local
149-
From: sudo 1.8.20
150-
File: /usr/share/exploitdb/platforms/linux/local/42183.c
151-
Url: https://www.exploit-db.com/exploits/42183
152-
[+] Fuse 2.9.3-15 - Privilege Escalation - local
153-
From: fuse 2.9.7
154-
File: /usr/share/exploitdb/platforms/linux/local/37089.txt
155-
Url: https://www.exploit-db.com/exploits/37089
148+
[!] Sudo 1.8.20 - 'get_process_ttyname()' Privilege Escalation - local
149+
From: sudo 1.8.20
150+
File: /usr/share/exploitdb/platforms/linux/local/42183.c
151+
Url: https://www.exploit-db.com/exploits/42183
152+
[!] Fuse 2.9.3-15 - Privilege Escalation - local
153+
From: fuse 2.9.7
154+
File: /usr/share/exploitdb/platforms/linux/local/37089.txt
155+
Url: https://www.exploit-db.com/exploits/37089
156156
157157
```

linux-soft-exploit-suggester.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ def updateDB():
222222
parser.add_argument('-f', '--file', type=str, help='Package list file')
223223
parser.add_argument('--clean', action='store_true', help='Use clean package list, if used \'dpkg-query -W\'')
224224
parser.add_argument('--duplicates', action='store_true', help='Show duplicate exploits')
225-
parser.add_argument('--db', type=str, help='Exploits csv file [default: file.csv]')
225+
parser.add_argument('--db', type=str, help='Exploits csv file [default: files_exploits.csv]')
226226
parser.add_argument('--update', action='store_true', help='Download latest version of exploits db')
227227
parser.add_argument('-d', '--distro', metavar='debian|redhat', type=str, choices=set(('debian','redhat')), default='debian', help='Linux flavor, debian or redhat [default: debian]')
228228
parser.add_argument('--dos', action='store_true', help='Include DoS exploits')

0 commit comments

Comments
 (0)