Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

search for exploitdb not work #10

Open
Razack-git opened this issue Jun 21, 2020 · 4 comments
Open

search for exploitdb not work #10

Razack-git opened this issue Jun 21, 2020 · 4 comments

Comments

@Razack-git
Copy link

search for exploits in exploitdb will not work,
because regex go through filenames, which are for example 27526.tgz

instead in looking in exploitdb/files_{exploits, shellcodes}.csv and
return second column, seperated by ',' for filename and third for description

@noraj
Copy link

noraj commented Jun 21, 2020

sploitctl is not searchsploit (exploitdb).

If you are talking about sploitctl can you give an example please.

@Razack-git
Copy link
Author

Razack-git commented Jun 23, 2020

[root@htb ~]# sploitctl -f 1 -XR -t 50
--==[ sploitctl by blackarch.org ]==--

[*] creating directory /usr/share/exploits
[*] creating directory /usr/share/exploits/exploit-db
[*] downloading exploitdb
[*] downloading exploitdb-bin-sploits
[root@htb ~]# sploitctl -s inux
--==[ sploitctl by blackarch.org ]==--

[-] exploit not found
[root@htb ~]# sploitctl -s 27526
--==[ sploitctl by blackarch.org ]==--

[*] exploit found: /usr/share/exploits/exploit-db/exploitdb-bin-sploits/bin-sploits/27526.tgz
[*] exploit found: /usr/share/exploits/exploit-db/exploitdb/exploits/windows/remote/27526.txt
[root@htb exploitdb]# grep inux /usr/share/exploits/exploit-db/exploitdb/files_exploits.csv | head -n3
11,exploits/linux/dos/11.c,"Apache 2.0.44 (Linux) - Remote Denial of Service",2003-04-11,"Daniel Nystram",dos,linux,
38,exploits/linux/dos/38.pl,"Apache 2.0.45 - 'APR' Crash",2003-06-08,"Matthew Murphy",dos,linux,80
68,exploits/linux/dos/68.c,"Linux Kernel 2.4.20 - 'decode_fh' Denial of Service",2003-07-29,"Jared Stanbrough",dos,linux,

@sepehrdaddev
Copy link
Contributor

@Razack-git , yes I'm fully aware of this bug.
I will soon fix this bug.
Thanks for reporting the issue

@BICH0
Copy link

BICH0 commented Jun 2, 2024

Any fix? Or is the bug stalled?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants