Commit graph

79 commits

Author SHA1 Message Date
Offensive Security
1ee59272f8 Merge branch 'x62en-master' 2016-08-17 15:04:14 +00:00
Offensive Security
fe449aa010 Merge branch 'default_gitpath_to_script_dir' of https://github.com/cbrunnkvist/exploit-database 2016-08-17 14:42:03 +00:00
Ben Mz
df9d0bee72 add json output support
remove json test fil

remove personnal repository

clean code

add json option to readme

add json output support
2016-08-10 09:47:10 +02:00
g0tmi1k
a26695ae60 searchsploit -u // Works better with Homebrew (add remote git repo) 2016-04-03 14:28:35 +01:00
Lorenzo
d820d493e5 [UPD] improve git clone performances
dear maintainers,

i reviewed the code of this script and i discovered that git clone works by cloning the current state of the repository and also all the history. i think that someone using searchsploit -u will not use the history, but only the current state.

so i propose you to use the option "--depth=1", which allows the clone of only the current state of the db.

if you think this is a bad idea for any reason, feel free to drop this request (if so, could you please let me know why? just because i am curious :D ).

thanks a lot for providing exploit-db, i really appreciate the effort and the project itself!

happy hacking!

Lo
2016-03-27 15:16:28 +02:00
g0tmi1k
308309b359 SearchSploit - tweaked output of '-p' 2016-03-19 22:00:59 +00:00
g0tmi1k
ee2c184df9 SearchSploit - Improved OSX support 2016-03-19 21:34:30 +00:00
g0tmi1k
fc03ae3188 SearchSploit v3.3 - Adds '-p' for copying path 2016-03-19 09:53:07 +00:00
Leon Jacobs
6d4ba0dc1a Be a little more clever about matching a sploit based off the edb-id
Thanks @g0tmi1k
2016-03-19 11:23:04 +02:00
Leon Jacobs
0eb0e396ae Add -p parameter to get full exploit paths and copy to clipboard 2016-03-18 21:17:43 +02:00
g0tmi1k
a41a17c7d3 Fix typo 2016-03-18 15:35:00 +00:00
g0tmi1k
a4652ab04d SearchSploit v3.2 - Adds '-e' for exact match 2016-03-18 15:31:20 +00:00
g0tmi1k
281ee2cecd searchsploit - Add support searching for '`' 2016-03-16 12:30:51 +00:00
g0tmi1k
e40fc6ca09 searchsploit - quick fixes 2016-03-16 12:28:56 +00:00
Conny Brunnkvist
cf69efdfca Use dir of searchsploit to find files.csv 2015-08-29 13:56:05 +07:00
g0tmi1k
7f2dc9d41b Updated README 2015-07-08 23:12:58 +01:00
g0tmi1k
60391041b9 Switch update to function 2015-07-08 21:38:52 +01:00
g0tmi1k
32edeb4342 Switching -f with -t (--file to --title)
Search just the exploit title (Default is title AND the file's path)
2015-07-08 21:24:00 +01:00
g0tmi1k
50f179d241 Grammar improvements 2015-06-12 20:55:48 +01:00
g0tmi1k
efa00094a0 SearchSploit - Misc output formatting 2015-06-11 15:56:36 +01:00
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
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
Chris Baal
ac19b0c0b3 Add update support to searchsploit 2015-01-07 18:01:38 -05:00
Offensive Security
f19fa32536 Merge branch 'ui-tweak' of https://github.com/prurigro/exploit-database into prurigro-ui-tweak 2014-12-10 17:39:38 +00:00
Kevin MacMartin
171223a3ed Made some minor updates to the UI for (imo) better formatting 2014-08-08 12:36:29 -04:00
Conny Brunnkvist
b1c290b614 Look for .csv in source dir even if exe is symlinked 2014-07-04 23:58:46 +07:00
Unix-Ninja
be4f53e1a8 added case-sensitive toggle switch & cleaned up garbage results (still super-fast) 2014-03-06 14:20:24 -05:00
root
fbfe3cc061 Added https://bugs.kali.org/view.php?id=707 2014-02-01 16:17:05 +00:00
Offensive Security
9b2c254843 Added the searchsploit script 2014-01-08 15:28:22 +00:00