secgroundzero / warberry

WarBerryPi - Tactical Exploitation
2.22k stars 288 forks source link

launch script warberry.py #102

Closed denver27 closed 6 years ago

denver27 commented 6 years ago

after a clean reinstallation, launching warberry.py :

Traceback (most recent call last):
  File "warberry.py", line 66, in <module>
    warberry()
  File "warberry.py", line 59, in warberry
    x = Warberry(options)
  File "/home/al/warberry-master/warberry-master/src/warberrySetup/Warberry.py", line 34, in __init__
    warberryDB.insertSession()
  File "/home/al/warberry-master/warberry-master/src/warberrySetup/WarberryDB.py", line 43, in insertSession
    warberryID=result[0]
TypeError: 'NoneType' object has no attribute '__getitem__'
root@kali:/home/al/warberry-master/warberry-master#
sconst commented 6 years ago

Please check whether the warberry.db is created.

denver27 commented 6 years ago

warberry.db is present in the same place where the script is launched : /home/al/warberry-master/warberry-master/

Se1ecto commented 6 years ago

I manually ran WarberryModel.py and the initial script started working. Did you try it out?

denver27 commented 6 years ago

running "warberry.py" after "WarberryModel.py" is working. I forgot something ? Must always run that one before? warberry.py script has not finished yet (very long) but for the moment no error. thank you very much !

sconst commented 6 years ago

No, you don't have to run "WarberryModel.py". WarberryModel.py is executed upon warberry's installation in order to determine Raspberry's model . Setup.sh updated. You could use the " -Q" option in order to perform services' scanning using threads and/or the "-i" option to perform port scanning with higher (quicker) intensity i.e -T4 . In addition, Responder's default timeout is 900s. Please refer to Wiki Page & warberry's manual for more information.

Thank you.

sconst commented 6 years ago

Issue Resolved. Closed.

Strannik74 commented 5 years ago

I can not start Warberry error

Traceback (most recent call last): File "warberry.py", line 66, in warberry() File "warberry.py", line 59, in warberry x = Warberry(options) File "/root/warberry/src/warberrySetup/Warberry.py", line 34, in init warberryDB.insertSession() File "/root/warberry/src/warberrySetup/WarberryDB.py", line 40, in insertSession db=(modelPI,) UnboundLocalError: local variable 'modelPI' referenced before assignment