0x09AL / raven

raven is a Linkedin information gathering tool that can be used by pentesters to gather information about an organization employees using Linkedin.
773 stars 163 forks source link

TypeError: int() argument must be a string or a number, not 'NoneType' #20

Closed cive33 closed 6 years ago

cive33 commented 6 years ago

Hi I've installed all the requirements that I need to run the tool but after the account has been identified I receiv the following error:

[+] Profiles Parsed 3 [+] [+] Cleaning Invalid Data [+] [+] Mail functions initialized [+] Traceback (most recent call last): File "raven.py", line 167, in CompletedList.append(MailObject.generateEmails(domain,int(email_format),pers on)) TypeError: int() argument must be a string or a number, not 'NoneType'

Can someone help me to solve this error? I run the tool on a Kali Linux 2018.1 but I tried to install the tool on a Ubuntu OS with the same error

Thank you

0x09AL commented 6 years ago

Hi, What e-mail format did you specify ?

cive33 commented 6 years ago

Hi, I tried many solutions, I tried to specify the format in the command using the -f option because if I run just the command like:

python raven.py -c test -s it -d test.com -f 2


_ \ _ __ _ \ \ _ \ | /_ \ \/ // \ / \ ____ / /\ \ / __/ | | \ / \ /\ __/| | \ // \ \/ \ / \ || /(_ /_/ \ >__| / _ / /\ ___ \ \/ \/ \/ \/ \/ \/ \/ LinkedIn Information Gathering Tool - by @0x09AL [+] Getting profiles from Google [+] [+] Parsing Data from html file [+] [+] Login Page loaded successfully [+] [+] Login Success [+] [+] Found a total of 1 profiles. [+] [+] Parsing all the profiles , this will take a while [+] https://www.linkedin.com/in/test

[+] Profiles Parsed 1 [+] [+] Cleaning Invalid Data [+] [+] Mail functions initialized [+] [[u'Test Test', u'Sr Director HR at test', u'Test']] ╒═══════════════════╤═════════════════════════╤═══════════╤═════════════════════════════╕ │ Name │ Position │ Company │ E-mail │ ╞═══════════════════╪═════════════════════════╪═══════════╪═════════════════════════════╡ │ Test test │ Sr Director HR at Test │ Test │ test.test@test.com │ ╘═══════════════════╧═════════════════════════╧═══════════╧═════════════════════════════╛ [+] Saving output to output/test.com-1522220660.csv Traceback (most recent call last): File "raven.py", line 182, in RequesterObject.kill() File "/home/Matte/exploit/linkedin/raven/modules/requester.py", line 77, in kill self.driver.quit() File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/firefox/webdriver.py", line 191, in quit RemoteWebDriver.quit(self) File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 689, in quit self.execute(Command.QUIT) File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 312, in execute self.error_handler.check_response(response) File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response raise exception_class(message, screen, stacktrace) selenium.common.exceptions.WebDriverException: Message: quit

Many thanks for your help