From db5348387688521eeaa99a8d28ba033d4ecc106f Mon Sep 17 00:00:00 2001 From: root Date: Tue, 14 Jun 2022 15:59:37 -0700 Subject: [PATCH] Sn1per by @sn1persecurity - https://sn1persecurity.com --- CHANGELOG.md | 1 + LICENSE.md | 30 +++++++++++++++++++++++++++++- README.md | 8 +------- install.sh | 42 +++++++++++++++++------------------------- 4 files changed, 48 insertions(+), 33 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index aa63c75..29cf29e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,5 @@ ## CHANGELOG: +* v9.1 - Added dnsutils to installer to fix missing deps * v9.1 - Fixed issue with gau in webscan modes not running * v9.1 - Updated subfinder to latest version * v9.1 - Added new email spoofing security checks to OSINT mode (-o) diff --git a/LICENSE.md b/LICENSE.md index 8204b09..90b6757 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -1,2 +1,30 @@ ## LICENSE: -Sn1per Community Edition is free to distribute, modify and use with the condition that credit is provided to the creator (@xer0dayz) and @Sn1perSecurity and is not for commercial use. For professional use, a Sn1per Professional or Enterprise license must be purchased at https://sn1persecurity.com. \ No newline at end of file +Sn1per Community Edition End User License Agreement (EULA) + +Sn1perSecurity LLC grants you the right to download, use, and distribute in part or in whole Sn1per Community Edition (also referred to as “Project”, “Code”, “Software”, “Sn1per”, “Product”), provided the following terms and conditions are met: + +(1) You agree to give credit to the original author @xer0dayz and link back to https://sn1persecurity.com (Sn1perSecurity LLC) +(2) You may not rename or rebrand the Project. +(3) You agree not to create any product or service from any part of the Code from this Project, paid or free. +(4) You agree not to re-license the Code. +(5) You may not use the Code for illegal or nefarious purposes, which violates any laws (in your jurisdiction, the jurisdiction in which the Software is running, the jurisdiction in which the Software is targeting, and the United States of America). +(6) You agree not to scan a target in a manner that is considered unlawful, illegal, or that you do not have explicit permission to do so. + +This Software is provided as-is without warranty. Sn1perSecurity LLC, its creators and staff take no liability for consequential damages to the maximum extent permitted by all applicable laws. In no event shall Sn1perSecurity LLC or any person be liable for any consequential, reliance, incidental, special, direct or indirect damages whatsoever (including without limitation, damages for loss of business profits, business interruption, loss of business information, personal injury, or any other loss) arising out of or in connection with the use or inability to use this Product, even if Sn1perSecurity LLC has been advised of the possibility of such damages. + +Sn1perSecurity LLC does not guarantee any functionality or performance of Sn1per Community Edition. Sn1perSecurity LLC does not warrant that the Code will be maintained and in good working order, or that the Software will meet your requirements, be uninterrupted, or error free, or that any errors in the Software will be corrected. + +The Software code, name, and logos are owned by Sn1perSecurity LLC and protected by the United States of America and the state of Arizona copyright and/or patent laws of international treaty provisions. All rights reserved. + +Sn1perSecurity LLC reserves the right to change the licensing terms at any time, without advance notice. Sn1perSecurity LLC reserves the right to terminate your license at any time. + +If any provision of this EULA is determined to be unlawful, void, or unenforceable, such provision shall nonetheless be enforceable to the fullest extent permitted by applicable law, and the unenforceable portion shall be deemed to be severed from this EULA. Such determination shall not affect the validity and enforceability of any remaining provisions. + +Failure of Sn1perSecurity LLC to exercise or enforce any right or provision of this EULA does not constitute a waiver of such right or provision. + +Any ambiguities in the interpretation of this EULA shall not be construed against the drafting party/parties. + +Download, use, distribution (in part or in whole) of this Project/Code constitutes your acceptance of the Sn1per Community Edition EULA. If at any time you are not in agreement or cannot meet any part of this EULA, you should immediately cease use of the Project by removing/uninstalling all copies from all locations. + +For any questions concerning this EULA, please submit a GitHub issue with your question: https://github.com/1N3/Sn1per + diff --git a/README.md b/README.md index a0766af..13d1e66 100644 --- a/README.md +++ b/README.md @@ -226,13 +226,7 @@ sniper -u|--update - [x] WPScan API integration (https://github.com/1N3/Sn1per/wiki/WPScan-API-Integration) ## LICENSE: -This software is free to distribute and use with the condition that credit is provided to the creator (@xer0dayz @Sn1perSecurity), is not renamed and is not for commercial use or resold and rebranded. Permission to distribute any part of the code for sale is strictly prohibited. - -## LEGAL DISCLAIMER: -You may not rent or lease, distribute, modify, sell or transfer the software to a third party. Sn1per Community is free for distribution, and modification with the condition that credit is provided to the creator and not used for commercial use. You may not use software for illegal or nefarious purposes. No liability for consequential damages to the maximum extent permitted by all applicable laws. In no event shall Sn1perSecurity or any person be liable for any consequential, reliance, incidental, special, direct or indirect damages whatsoever (including without limitation, damages for loss of business profits, business interruption, loss of business information, personal injury, or any other loss) arising out of or in connection with the use or inability to use this product, even if Sn1perSecurity has been advised of the possibility of such damages. - -## COPYRIGHT: -The software code and logos are owned by Sn1perSecurity and protected by United States copyright and/or patent laws of international treaty provisions. All rights reserved. +For license info and legal information, refer to the LICENSE.md file in this repository. ## PURCHASE SN1PER PROFESSIONAL: To obtain a Sn1per Professional license, go to https://sn1persecurity.com. diff --git a/install.sh b/install.sh index 2b03a69..41eaaab 100755 --- a/install.sh +++ b/install.sh @@ -118,6 +118,7 @@ apt-get install -y xvfb apt-get install -y urlcrazy apt-get install -y iputils-ping apt-get install -y enum4linux +apt-get install -y dnsutils echo -e "$OKBLUE[*]$RESET Installing Metasploit...$RESET" curl https://raw.githubusercontent.com/rapid7/metasploit-omnibus/master/config/templates/metasploit-framework-wrappers/msfupdate.erb > /tmp/msfinstall @@ -247,7 +248,7 @@ cd .. # NUCLEI UPDATES echo -e "$OKBLUE[*]$RESET Installing Nuclei...$RESET" -GO111MODULE=on go get -v github.com/projectdiscovery/nuclei/v2/cmd/nuclei +go install -v github.com/projectdiscovery/nuclei/v2/cmd/nuclei@latest if [ ! -f "/root/go/bin/nuclei" ]; then wget https://github.com/projectdiscovery/nuclei/releases/download/v2.3.7/nuclei_2.3.7_linux_amd64.tar.gz -O /tmp/nuclei.tar.gz cd /tmp @@ -255,7 +256,7 @@ if [ ! -f "/root/go/bin/nuclei" ]; then mv nuclei /root/go/bin/nuclei cd $INSTALL_DIR fi -ln -s /root/go/bin/nuclei /usr/local/bin/nuclei 2> /dev/null +ln -fs /root/go/bin/nuclei /usr/local/bin/nuclei # NUCLEI TEMPLATES UPDATE echo -e "$OKBLUE[*]$RESET Installing Nuclei Templates...$RESET" @@ -270,62 +271,55 @@ pip3 install -U webtech # INSTALL SUBJACK echo -e "$OKBLUE[*]$RESET Installing SubJack...$RESET" -cd ~/go/bin/;go get github.com/haccer/subjack +cd ~/go/bin/;go install github.com/haccer/subjack@latest # INSTALL SUBOVER echo -e "$OKBLUE[*]$RESET Installing SubOver...$RESET" -cd ~/go/bin/;go get -u github.com/Ice3man543/SubOver; mv SubOver /usr/local/bin/subover +cd ~/go/bin/;go install github.com/Ice3man543/SubOver@latest; mv /root/go/bin/SubOver /usr/local/bin/subover # INSTALL FPROBE echo -e "$OKBLUE[*]$RESET Installing FProbe...$RESET" -GO111MODULE=on go get -u github.com/theblackturtle/fprobe; ln -fs ~/go/bin/fprobe /usr/bin/fprobe +go install github.com/theblackturtle/fprobe@latest; ln -fs ~/go/bin/fprobe /usr/bin/fprobe # INSTALL ASNIP echo -e "$OKBLUE[*]$RESET Installing ASnip...$RESET" -go get github.com/harleo/asnip -ln -s ~/go/bin/asnip /usr/bin/asnip 2>/dev/null +go install github.com/harleo/asnip@latest; ln -fs ~/go/bin/asnip /usr/bin/asnip # GAU INSTALLER echo -e "$OKBLUE[*]$RESET Installing GAU...$RESET" -GO111MODULE=on go get -u -v github.com/lc/gau +go install github.com/lc/gau@latest rm -f /usr/bin/gau 2> /dev/null -ln -s /root/go/bin/gau /usr/bin/gau 2> /dev/null +ln -fs /root/go/bin/gau /usr/bin/gau +ln -fs /root/go/bin/gau /usr/bin/gau2 # INSTALL HTTPX echo -e "$OKBLUE[*]$RESET Installing HTTPX...$RESET" -GO111MODULE=auto go get -u -v github.com/projectdiscovery/httpx/cmd/httpx -ln -s /root/go/bin/httpx /usr/bin/httpx 2> /dev/null +go install github.com/projectdiscovery/httpx@latest; ln -fs /root/go/bin/httpx /usr/bin/httpx # INSTALL FFUF echo -e "$OKBLUE[*]$RESET Installing FFuF...$RESET" -go get -u github.com/ffuf/ffuf -ln -s /root/go/bin/ffuf /usr/bin/ffuf 2> /dev/null +go install github.com/ffuf/ffuf@latest; ln -fs /root/go/bin/ffuf /usr/bin/ffuf # GITHUB-ENDPOINTS INSTALLER echo -e "$OKBLUE[*]$RESET Installing Github-Endpoints...$RESET" -go get -u github.com/gwen001/github-endpoints -ln -s /root/go/bin/github-endpoints /usr/bin/github-endpoints 2> /dev/null +go install github.com/gwen001/github-endpoints@latest; ln -fs /root/go/bin/github-endpoints /usr/bin/github-endpoints # PUREDNS INSTALLER echo -e "$OKBLUE[*]$RESET Installing PureDNS...$RESET" -GO111MODULE=on go get github.com/d3mondev/puredns/v2 -ln -s /root/go/bin/puredns /usr/bin/puredns 2> /dev/null +go install github.com/d3mondev/puredns/v2@latest; ln -fs /root/go/bin/puredns /usr/bin/puredns # AMASS INSTALLER echo -e "$OKBLUE[*]$RESET Installing AMass...$RESET" -export GO111MODULE=on -go get -v github.com/OWASP/Amass/cmd/amass +go install -v github.com/OWASP/Amass/v3/...@master cd /root/go/bin/ # SUBFINDER INSTALLER echo -e "$OKBLUE[*]$RESET Installing SubFinder...$RESET" -GO111MODULE=on go get -v github.com/projectdiscovery/subfinder/v2/cmd/subfinder@latest -ln -s /root/go/bin/subfinder /usr/local/bin/subfinder 2> /dev/null +go install -v github.com/projectdiscovery/subfinder/v2/cmd/subfinder@latest; ln -fs /root/go/bin/subfinder /usr/local/bin/subfinder # DIRDAR INSTALLER echo -e "$OKBLUE[*]$RESET Installing DirDar...$RESET" -go get -u github.com/1N3/dirdar -ln -s /root/go/bin/dirdar /usr/local/bin/dirdar 2> /dev/null +go install github.com/1N3/dirdar@latest; ln -fs /root/go/bin/dirdar /usr/local/bin/dirdar # VULNERS NMAP INSTALLER echo -e "$OKBLUE[*]$RESET Installing Vulners...$RESET" @@ -423,8 +417,6 @@ mkdir $LOOT_DIR/output -p 2> /dev/null mkdir $LOOT_DIR/reports -p 2> /dev/null chmod +x $INSTALL_DIR/sniper chmod +x $PLUGINS_DIR/Goohak/goohak -rm -f /usr/bin/sniper -rm -f /usr/bin/goohak rm -f /usr/bin/dirsearch ln -s $INSTALL_DIR/sniper /usr/bin/sniper 2> /dev/null ln -s $PLUGINS_DIR/Goohak/goohak /usr/bin/goohak 2> /dev/null