secgroundzero / warberry

WarBerryPi - Tactical Exploitation
2.22k stars 288 forks source link

Viewing Data #108

Closed hunttom closed 5 years ago

hunttom commented 5 years ago

Hello all: I am unable to view data. I tried opening up index.html after configuring Reporting/Results as per the innstructions. Furthermore, I have tried running apache to see if it wasn't a service that was causing the website to break. Still unable to view data. What am I missing from the instructions?

Also: I am getting this error despite running the DNS install script.

Traceback (most recent call last):
  File "/usr/local/bin/cme", line 7, in <module>
    from cme.crackmapexec import main
  File "/usr/local/lib/python2.7/dist-packages/cme/crackmapexec.py", line 10, in <module>
    from cme.connection import Connection
  File "/usr/local/lib/python2.7/dist-packages/gevent/builtins.py", line 96, in __import__
    result = _import(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/cme/connection.py", line 8, in <module>
    from impacket.smbconnection import SMBConnection, SessionError
  File "/usr/local/lib/python2.7/dist-packages/gevent/builtins.py", line 96, in __import__
    result = _import(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/impacket/smbconnection.py", line 20, in <module>
    from impacket import smb, smb3, nmb, nt_errors, LOG
  File "/usr/local/lib/python2.7/dist-packages/gevent/builtins.py", line 96, in __import__
    result = _import(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/impacket/smb.py", line 49, in <module>
    from pyasn1.type.univ import noValue
ImportError: cannot import name noValue
hunttom commented 5 years ago

Fixed Enumeration issue with the following additional to setup.sh

apt-get install python -y
pip install cffi
pip install pyasn1
apt-get update #Just to make sure I grabbed the latest
apt-get -y upgrade

Still having issues with view data.

secgroundzero commented 5 years ago

Hi Tom,

I cant replicate this but we are releasing a new version in the next few days.

From what i see this is an error from impacket that i will look in to

@sec_groundzero

On 18 Oct 2018, at 6:46 AM, HunterTom notifications@github.com wrote:

Hello all: I am unable to view data. I tried opening up index.html after configuring Reporting/Results as per the innstructions. Furthermore, I have tried running apache to see if it wasn't a service that was causing the website to break. Still unable to view data. What am I missing from the instructions?

Also: I am getting this error despite running the DNS install script.

Traceback (most recent call last): File "/usr/local/bin/cme", line 7, in from cme.crackmapexec import main File "/usr/local/lib/python2.7/dist-packages/cme/crackmapexec.py", line 10, in from cme.connection import Connection File "/usr/local/lib/python2.7/dist-packages/gevent/builtins.py", line 96, in import result = _import(*args, kwargs) File "/usr/local/lib/python2.7/dist-packages/cme/connection.py", line 8, in from impacket.smbconnection import SMBConnection, SessionError File "/usr/local/lib/python2.7/dist-packages/gevent/builtins.py", line 96, in import result = _import(*args, *kwargs) File "/usr/local/lib/python2.7/dist-packages/impacket/smbconnection.py", line 20, in from impacket import smb, smb3, nmb, nt_errors, LOG File "/usr/local/lib/python2.7/dist-packages/gevent/builtins.py", line 96, in import result = _import(args, kwargs) File "/usr/local/lib/python2.7/dist-packages/impacket/smb.py", line 49, in from pyasn1.type.univ import noValue ImportError: cannot import name noValue — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

hunttom commented 5 years ago

Okay. Step to reproduce: Install latest RBI-lite using Etcher.io Git pull warberry pi repo Git pull dnspython python setup.py install (cd into warberry) sudo bash setup.sh sudo python warberry.py (Traceback error shows in hostname enumeration section)

I was able to fix the error with the additions above to the setup.sh.

How do I view the data (or is it coming out in the newest update?) Thanks!

sconst commented 5 years ago

We will check the above.

For the current version, you could use Reporting Module to view the data.

Thanks.