Commit graph

715 commits

Author SHA1 Message Date
g0tmi1k
990bc693df SearchSploit: Add file path search (-f)
This is how the old method of search was working.

**Still uses `fgrep` rather than `grep -f`**.

- - -

## Before

```
root@kali:~/exploit-database# ./searchsploit afd windows local
---------------------------------------------------------------------------------------------------------------------------------------------- ----------------------------------
 Exploit Title                                                                                                                                |  Path
                                                                                                                                              | (/usr/share/exploitdb/platforms)
---------------------------------------------------------------------------------------------------------------------------------------------- ----------------------------------
Microsoft Windows XP - AFD.sys Local Kernel DoS Exploit                                                                                       | ./windows/dos/17133.c
Microsoft Windows XP/2003 Afd.sys - Local Privilege Escalation Exploit (MS11-080)                                                             | ./windows/local/18176.py
---------------------------------------------------------------------------------------------------------------------------------------------- ----------------------------------
root@kali:~/exploit-database#
```

## Now / Old method

```
root@kali:~/exploit-database# ./searchsploit afd windows local -f
---------------------------------------------------------------------------------------------------------------------------------------------- ----------------------------------
 Exploit Title                                                                                                                                |  Path
                                                                                                                                              | (/usr/share/exploitdb/platforms)
---------------------------------------------------------------------------------------------------------------------------------------------- ----------------------------------
Microsoft Windows 2003/XP - AFD.sys Privilege Escalation Exploit (K-plugin)                                                                   | ./windows/local/6757.txt
Microsoft Windows XP - AFD.sys Local Kernel DoS Exploit                                                                                       | ./windows/dos/17133.c
Microsoft Windows XP/2003 Afd.sys - Local Privilege Escalation Exploit (MS11-080)                                                             | ./windows/local/18176.py
Windows - AfdJoinLeaf Privilege Escalation (MS11-080)                                                                                         | ./windows/local/21844.rb
---------------------------------------------------------------------------------------------------------------------------------------------- ----------------------------------
root@kali:~/exploit-database#
```
2015-06-11 15:40:56 +01:00
Offensive Security
de9e875bbd Merge branch 'g0tmi1k-searchsploit' 2015-06-11 13:41:52 +00:00
g0tmi1k
85361a1879 SearchSploit - Code clean up & new features
+ Header will display full path (e.g. `/usr/share/exploitdb/platforms`)
+ Add 'Web Link' (`-w`) to show URLs
+ Add 'EDB-ID' (`--id`) to show only EDB-ID values
+ Add colour mode - will highlight results by default (`--colour` to disable it)
+ Better performance (Less pipes - but more awks. _So theres still work_).
+ Search results are more accurate (doesn't search path - only exploit title)
2015-06-11 14:16:29 +01:00
Offensive Security
5aabf25b26 DB: 2015-06-11
16 new exploits
2015-06-11 05:02:28 +00:00
Offensive Security
5ff70806ea DB: 2015-06-10
4 new exploits
2015-06-10 05:01:56 +00:00
root
82307c8cbc DB: 2015-06-09
4 new exploits
2015-06-09 06:38:42 +00:00
Offensive Security
6a755b7b3d DB: 2015-06-08
7 new exploits
2015-06-08 05:03:42 +00:00
Offensive Security
5cd9f850c3 DB: 2015-06-07
11 new exploits
2015-06-07 05:02:18 +00:00
Offensive Security
709da32ec5 DB: 2015-06-06
11 new exploits
2015-06-06 05:03:13 +00:00
Offensive Security
d811002c6b DB: 2015-06-05
15 new exploits
2015-06-05 05:02:15 +00:00
Offensive Security
0e74581282 DB: 2015-06-04
2 new exploits
2015-06-04 05:03:09 +00:00
Offensive Security
222fb2102d DB: 2015-06-03
11 new exploits
2015-06-03 05:03:26 +00:00
Offensive Security
3df3d6d656 DB: 2015-06-02
19 new exploits
2015-06-02 05:02:25 +00:00
Offensive Security
75bd2aed32 DB: 2015-06-01
1 new exploits
2015-06-01 05:01:34 +00:00
Offensive Security
0b3f393d50 DB: 2015-05-30
17 new exploits
2015-05-30 05:02:42 +00:00
Offensive Security
3f78695204 DB: 2015-05-29
2 new exploits
2015-05-29 05:02:13 +00:00
Offensive Security
c2a15a0750 DB: 2015-05-28
9 new exploits
2015-05-28 05:02:44 +00:00
Offensive Security
8a28155962 DB: 2015-05-27
15 new exploits
2015-05-27 05:02:00 +00:00
Offensive Security
132b3784f2 DB: 2015-05-26
11 new exploits
2015-05-26 05:02:24 +00:00
Offensive Security
8225648fae DB: 2015-05-25
7 new exploits
2015-05-25 05:02:56 +00:00
Offensive Security
05862802e3 DB: 2015-05-24
1 new exploits
2015-05-24 05:02:17 +00:00
Offensive Security
a959c54c79 DB: 2015-05-23
7 new exploits
2015-05-23 05:01:32 +00:00
Offensive Security
eb3be45f9b DB: 2015-05-22
17 new exploits
2015-05-22 05:02:47 +00:00
Offensive Security
62ba41ab0a DB: 2015-05-21
5 new exploits
2015-05-21 05:03:22 +00:00
Offensive Security
fb6e945657 DB: 2015-05-20
4 new exploits
2015-05-20 05:02:12 +00:00
Offensive Security
6086516a4d DB: 2015-05-19
19 new exploits
2015-05-19 05:03:23 +00:00
Offensive Security
2be48e03b5 DB: 2015-05-18
8 new exploits
2015-05-18 05:03:27 +00:00
Offensive Security
57c0ae8e73 DB: 2015-05-17
6 new exploits
2015-05-17 05:02:09 +00:00
Offensive Security
f8d109fa3c DB: 2015-05-16
1 new exploits
2015-05-16 05:03:20 +00:00
Offensive Security
b3321b3426 DB: 2015-05-15
17 new exploits
2015-05-15 05:02:32 +00:00
Offensive Security
c9501aad62 DB: 2015-05-14
9 new exploits
2015-05-14 05:02:52 +00:00
Offensive Security
d35a443cc5 DB: 2015-05-13
4 new exploits
2015-05-13 05:02:11 +00:00
Offensive Security
f4931a16fc DB: 2015-05-12
18 new exploits
2015-05-12 05:03:20 +00:00
Offensive Security
5acc3a9713 DB: 2015-05-10
1 new exploits
2015-05-10 05:02:35 +00:00
Offensive Security
e6dc3c025a DB: 2015-05-09
28 new exploits
2015-05-09 05:03:14 +00:00
Offensive Security
01ba689949 DB: 2015-05-08
19 new exploits
2015-05-08 05:02:43 +00:00
Offensive Security
b2d25f8fa5 DB: 2015-05-07
9 new exploits
2015-05-07 05:03:16 +00:00
Offensive Security
dc83e39d07 DB: 2015-05-06
3 new exploits
2015-05-06 05:01:34 +00:00
Offensive Security
0df2ff7351 DB: 2015-05-05
15 new exploits
2015-05-05 05:03:01 +00:00
Offensive Security
35c4afba6c DB: 2015-05-04
1 new exploits
2015-05-04 05:02:35 +00:00
Offensive Security
b947a88682 DB: 2015-05-03
8 new exploits
2015-05-03 05:02:22 +00:00
Offensive Security
3ca5bb5bfc DB: 2015-05-02
10 new exploits
2015-05-02 05:02:10 +00:00
Offensive Security
3e2b440887 DB: 2015-05-01
9 new exploits
2015-05-01 05:02:12 +00:00
Offensive Security
891000cdf7 DB: 2015-04-30
15 new exploits
2015-04-30 05:03:30 +00:00
Offensive Security
428ec4393d DB: 2015-04-29
1 new exploits
2015-04-29 05:02:03 +00:00
Offensive Security
67447e4b29 DB: 2015-04-28
16 new exploits
2015-04-28 05:01:34 +00:00
Offensive Security
029eaafec5 DB: 2015-04-27
2 new exploits
2015-04-27 05:02:03 +00:00
Offensive Security
14670d8adc DB: 2015-04-26 2015-04-26 05:02:21 +00:00
Offensive Security
93751b0d8e DB: 2015-04-24
3 new exploits
2015-04-24 05:02:47 +00:00
Offensive Security
6ddbb48d4d DB: 2015-04-23
3 new exploits
2015-04-23 05:03:27 +00:00