Giter Club home page Giter Club logo

Comments (10)

1N3 avatar 1N3 commented on August 27, 2024

Thanks for the heads up.. did you by chance run the install.sh script?

from sn1per.

1N3 avatar 1N3 commented on August 27, 2024

I fixed some options in the setup.sh to install theHarvester but let me know if this is still an issue.

from sn1per.

JayMaree avatar JayMaree commented on August 27, 2024

Still the same, got the following errors:
[1]
./sniper: line 89: theHarvester: command not found
./sniper: line 90: theHarvester: command not found
./sniper: line 91: theHarvester: command not found
./sniper: line 92: theHarvester: command not found
./sniper: line 93: dnsrecon: command not found
./sniper: line 94: dnsrecon: command not found
./sniper: line 95: dnsrecon: command not found
./sniper: line 96: dnsenum: command not found
./sniper: line 98: shodan: command not found

[2]
Failed to open XML output file loot/nmap-veiling.infotheek.com.xml for writing
QUITTING!

[3]
./sniper: line 667: cd: yasuo: No such file or directory
ruby: No such file or directory -- yasuo.rb (LoadError)
./sniper: line 669: cd: ../BruteX: No such file or directory
./sniper: line 670: ./brutex: No such file or directory
mv: cannot stat ‘loot/*’: No such file or directory

A few things works fine now, like the Shodan install step. Didn't work either before.

Btw, I'm running the install.sh on a NON-GUI ubuntu vm (digital ocean)

from sn1per.

1N3 avatar 1N3 commented on August 27, 2024

I put in a fix for #2 and #3 which should allow you to run your scans. I'll need to look into compatibility issues with Ubuntu though as Sn1per was made primarily for Kali Linux.

from sn1per.

1N3 avatar 1N3 commented on August 27, 2024

You can now run a docker container from any Linux flavor (Check the main project README...) in order to run sniper which should solve your issue. Closing out for now, but let me know if you're still having issues getting it to run.

from sn1per.

menzow avatar menzow commented on August 27, 2024

@JayMaree @1N3 ; The docker solution is the perfect solution with guaranteed compatibility on any OS that runs docker.

But that doesn't solve the issue at hand: running sn1per on Ubuntu. Your problem is that you're missing specific programs sn1per tries to run. Some sn1per dependencies reside in the kali linux repository.

To install these dependencies you need to add the kali repository to your sources list. This can be done through the following commands:

echo "deb http://http.kali.org/kali kali-rolling main contrib non-free" >> /etc/apt/sources.list.d/kali.sources.list
gpg --keyserver pgpkeys.mit.edu --recv-key  ED444FF07D8D0BF6
gpg -a --export ED444FF07D8D0BF6 | apt-key add -
apt-get update 

More info

Now you can manually install each missing dependency, or run the following command to install them all:

apt-get install -y \
	ruby \
	rubygems \
	python \
	dos2unix \
	zenmap \
	sslyze \
	uniscan \
	xprobe2 \
	cutycapt \
	unicornscan \
	waffit \
	host \
	whois \
	dirb \
	dnsrecon \
	curl \
	nmap \
	php \
	php-curl \
	hydra \
	iceweasel \
	wpscan \
	sqlmap \
	nbtscan \
	enum4linux \
	cisco-torch \
	metasploit-framework \
	theharvester \
	dnsenum \
	nikto \
	smtp-user-enum \
	whatweb \
	dnsutils \
	sslscan \
	amap \
	arachni && \
mv /usr/bin/python /usr/bin/python.unknown && \
ln -s /usr/bin/python2.7 /usr/bin/python && \
curl https://bootstrap.pypa.io/get-pip.py | python && \
gem install  \
	mechanize \
	bcrypt \
	net-http-persistent \
	rake \
	ruby-nmap \
	text-table && \
pip install  \
	colorama \
	dnspython \
	ipaddress \
	tldextract \
	urllib3

After installing all dependencies, I'd advice to re-install sn1per through the following command:

git clone https://github.com/1N3/Sn1per.git ~/Sn1per
cd ~/Sn1per
./install.sh

With the previous commands ran you should now have a fully working copy of sn1per installed on your host OS.

from sn1per.

hariom282538 avatar hariom282538 commented on August 27, 2024

SCANNING FOR COMMON VULNERABILITIES

Traceback (most recent call last):
2: from yasuo.rb:34:in <main>' 1: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in require'
/usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require': cannot load such file -- sqlite3 (LoadError)

from sn1per.

hariom282538 avatar hariom282538 commented on August 27, 2024

“brute force file not specified, bay.”

from sn1per.

satyamkumar420 avatar satyamkumar420 commented on August 27, 2024

modes/normal.sh: line 26: sniper: command not found

from sn1per.

satyamkumar420 avatar satyamkumar420 commented on August 27, 2024

└─$ sudo ./sniper -t www.linkedin.com
[] Loaded configuration file from /usr/share/sniper/sniper.conf [OK]
[
] Loaded configuration file from /root/.sniper.conf [OK]
[] Saving loot to /usr/share/sniper/loot/ [OK]
[
] Scanning www.linkedin.com [OK]
modes/normal.sh: line 26: sniper: command not found

from sn1per.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.