Giter VIP home page Giter VIP logo

leviathan's Issues

'Error on line 25'

Impossible to use Google Dorks function in manual or automatic:

Extracting URLs from Google for following dork: inurl:.php?id= inurl:edu.fr
Link extraction failed! Probably your API limit exceeded
('Error on line 25', <class 'googleapiclient.errors.HttpError'>, <HttpError 400 when requesting https://www.googleapis.com/customsearch/v1?q=inurl%3A.php%3Fid%3D+inurl%3Aedu.fr&alt=json&cx=API_KEY_HERE&num=15&key=API_KEY_HERE returned "Bad Request">)

Seven undefined name errors

flake8 testing of https://github.com/leviathan-framework/leviathan on Python 2.7.13

$ flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics

./lib/brute_forcer.py:87:17: F821 undefined name 'cracked_list'
                cracked_list.append(ip+" "+username+" "+password)
                ^

./lib/brute_forcer.py:88:72: F821 undefined name 'discovery_id'
                ncrack_file_name = "ncrack_%s_%s.txt" % (protocol, str(discovery_id))
                                                                       ^

./lib/utils.py:149:45: F821 undefined name 'output_file'
        print "There is no such file: %s" % output_file
                                            ^

./lib/utils.py:173:45: F821 undefined name 'output_file'
        print "There is no such file: %s" % output_file
                                            ^

./lib/utils.py:189:45: F821 undefined name 'output_file'
        print "There is no such file: %s" % output_file
                                            ^

./lib/exploits/detect_doublepulsar_rdp.py:137:39: F821 undefined name 'ip'
                successful_ips.append(ip)
                                      ^

./lib/exploits/detect_doublepulsar_smb.py:162:39: F821 undefined name 'ip'
                successful_ips.append(ip)
                                      ^

Cannot communicate with Shodan.io

Enter Country Code:

(Examples:TR,RU,USA,IT)

tr

Enter Protocol 

(Examples:ssh, ftp, telnet, smb, rdp, mysql):

ssh
Extracting IPs for following query: country:tr port:22
Please wait..
Cannot communicate with Shodan.io

I have entered the shodan api.

Debian Install Script error

/usr/bin/strip /usr/local/bin/ncrack
/usr/bin/install -c -c -m 644 docs/ncrack.1 /usr/local/share/man/man1/
/usr/bin/install -c -c -m 644 ncrack-services /usr/local/share/ncrack/
/usr/bin/install -c -c -m 644 lists/* /usr/local/share/ncrack/
NCRACK SUCCESSFULLY INSTALLED
Traceback (most recent call last):
  File "/usr/bin/pip", line 9, in <module>
    load_entry_point('pip==1.5.6', 'console_scripts', 'pip')()
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 356, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2476, in load_entry_point
    return ep.load()
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2190, in load
    ['__name__'])
  File "/usr/lib/python2.7/dist-packages/pip/__init__.py", line 74, in <module>
    from pip.vcs import git, mercurial, subversion, bazaar  # noqa
  File "/usr/lib/python2.7/dist-packages/pip/vcs/mercurial.py", line 9, in <module>
    from pip.download import path_to_url
  File "/usr/lib/python2.7/dist-packages/pip/download.py", line 25, in <module>
    from requests.compat import IncompleteRead
ImportError: cannot import name IncompleteRead

This on Debian Jessie (8.7).

Error "Cannot communicate with ..." Shodan and Censys

    Enter Country Code:

    (Examples:TR,RU,USA,IT)
    
>>FR

    Enter Protocol 

    (Examples:ssh, ftp, telnet, smb, rdp, mysql):
    
>>ssh
Extracting IPs for following query: country:FR port:22
Please wait..
Cannot communicate with Shodan.io

No module named shodan

Traceback (most recent call last):
File "leviathan.py", line 20, in
from lib.protocol_scanner import shodan_search, censys_search, mass_scan
File "/root/leviathan/lib/protocol_scanner.py", line 7, in
import shodan
ImportError: No module named shodan

and i m sure that shodan is installed

[FEATURE] Allow signal stop on search

Allow user to send a stop signal through keyboard (e.g. Ctrl+C).
This will allow user to stop search whenever he wants.
For future, implementation of "continue" search could be available.

fedora_install.sh scriptinde sorun

Sizin blogunuzu uzun süredir takip ediyorum, bu yeni aracı çıkardığınızı gördüm. Kullandığım dağıtım Fedora. "sh fedora_install.sh" komutunu verdiğimde scriptin "requirements.txt" dosyasını bulamadığını gördüm:
Could not open requirements file: [Errno 2] Böyle bir dosya ya da dizin yok: 'requirements.txt'
Bunun çözümü için requirements.txt dosyasını scripts klasörünün içine almanızı öneriyorum.

googleapiclient doesn't exist

ImportError: No module named googleapiclient.discovery

After installing the framework with the shell script for Ubuntu. Tried to install and search for a module by that name via pip but it does not appear to exist. And if it does, it may have ben updated so that it goes by a different name. This project is after all a year old.

Any tips for me on how to resolve this issue?

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.