Subterfuge-Framework / Subterfuge

Framework for Man-In-The-Middle attacks
http://kinozoa.com/blog
185 stars 59 forks source link

Subterfuge was unable to detect a default gw on any of your interfaces. Sorry #5

Open vitogambino88 opened 9 years ago

vitogambino88 commented 9 years ago

Trying to run subterfuge with my VPN given IP as the external IP, problem is I keep getting this message : Subterfuge was unable to detect a default gw on any of your interfaces. Sorry

Also notice all my modules have red orbs with only credential harvester having a green orb. what am i doing wrong?

0sm0s1z commented 9 years ago

The Subterfuge automated gateway detection system sometimes struggles with nonstandard ip setups. Have you tried setting the gateway manually? This can be done from the settings page.

All modules with the exception of the credential harvester are disabled by default. To enable them use the Modules page.

Let me know if that solves the problem so we can close the issue, or, alternately, begin working on a proper fix if it does not.

Happy hacking!

bogos13 commented 7 years ago

OK It's been 2 whole day now and I created an account just so that I can get help. In short, everything seems to work, but nothing does. It can't get any default gateway, I've even entered it manually and even tried the default gateway from route command.

I am totally new to github, please help me.

Here is the section that doesn't seem to work

`Configuring System...
net.ipv4.ip_forward = 1
IP Forwarding Enabled.
Initiating ARP Poison With ARPMITM...
Starting up SSLstrip...
Dynamic ARP Retention is disabled.
Harvesting Credentials...
Starting FTP Sniffer
`

It doesn't show me that it's poisoning only the specific host and it doesn't say that sslstrip is running. Furthermore, it shows me a bunch of codes after. EX:

`   in file "/usr/share/matplotlib/mpl-data/stylelib/classic.mplstyle"
    Key backend: Unrecognized backend string "$template_backend": valid strings are [u'pgf', u'cairo', u'MacOSX', u'CocoaAgg', u'gdk', u'ps', u'GTKAgg', u'nbAgg', u'GTK', u'Qt5Agg', u'template', u'emf', u'GTK3Cairo', u'GTK3Agg', u'WX', u'Qt4Agg', u'TkAgg', u'agg', u'svg', u'GTKCairo', u'WXAgg', u'WebAgg', u'pdf']
  (val, error_details, msg))
Unable to determine gateway. Please ensure proper network connectivity.
/usr/lib/python2.7/dist-packages/matplotlib/__init__.py:1078: UserWarning: Bad val "$TEMPLATE_BACKEND" on line #41
    "backend      : $TEMPLATE_BACKEND
'

Where can I get those templates??

Ps. setup.py doesn't kind of work me, it always ends up with the error saying that something went wrong when trying to apt-get.

Thank you for your time, please help me.

bogos13 commented 7 years ago

Oh yeah, also this. The X is intentional and it happens when i try to see the subnet

`Using Interface => eth1
Auto Configure  => yes
Using Gateway   => 192.168.X.0
[20/Jun/2017 20:31:57] "POST /config/settings/ HTTP/1.1" 200 25847
[20/Jun/2017 20:32:04] "POST /config/settings/ HTTP/1.1" 200 25847
Internal Server Error: /startpwn/auto/
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 133, in get_response
    raise ValueError("The view %s.%s didn't return an HttpResponse object." % (callback.__module__, view_name))
ValueError: The view main.views.startpwn didn't return an HttpResponse object.
[20/Jun/2017 20:32:11] "GET /startpwn/auto/ HTTP/1.1" 500 10480
/usr/lib/python2.7/dist-packages/matplotlib/__init__.py:1078: UserWarning: Bad val "$TEMPLATE_BACKEND" on line #41
    "backend      : $TEMPLATE_BACKEND
"
    in file "/usr/share/matplotlib/mpl-data/stylelib/classic.mplstyle"
    Key backend: Unrecognized backend string "$template_backend": valid strings are [u'pgf', u'cairo', u'MacOSX', u'CocoaAgg', u'gdk', u'ps', u'GTKAgg', u'nbAgg', u'GTK', u'Qt5Agg', u'template', u'emf', u'GTK3Cairo', u'GTK3Agg', u'WX', u'Qt4Agg', u'TkAgg', u'agg', u'svg', u'GTKCairo', u'WXAgg', u'WebAgg', u'pdf']
  (val, error_details, msg))
Starting Pwn Ops...
Running AutoPwn Method...
No default gw on eth0
No default gw on eth1
Traceback (most recent call last):
  File "/usr/share/subterfuge/attackctrl.py", line 324, in <module>
    attack(sys.argv[1])
  File "/usr/share/subterfuge/attackctrl.py", line 47, in attack
    autoconfig()
  File "/usr/share/subterfuge/attackctrl.py", line 300, in autoconfig
    ipaddress = re.findall(r'\d*.\d*.\d*.\d*', temp)[0]
IndexError: list index out of range
`
williswillz commented 4 years ago

Hello world I'm having issue on subterfuge 5.0

Starting Pwn Ops...
Running AutoPwn Method... No default gw on eth0 Traceback (most recent call last): File "/usr/share/subterfuge/attackctrl.py", line 268, in attack(sys.argv[1]) File "/usr/share/subterfuge/attackctrl.py", line 35, in attack autoconfig() File "/usr/share/subterfuge/attackctrl.py", line 245, in autoconfig ipaddress = re.findall(r'\d.\d.\d.\d', temp)[0] IndexError: list index out of range HELP PLS

williswillz commented 4 years ago

PLS TELL ME IS SUBTERFUGE DEAD OR NOT WORKING IN 2020

0sm0s1z commented 4 years ago

Dead

On Thu, Nov 12, 2020 at 11:09 PM williswillz notifications@github.com wrote:

PLS TELL ME IS SUBTERFUGE DEAD OR NOT WORKING IN 2020

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Subterfuge-Framework/Subterfuge/issues/5#issuecomment-726518116, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACXWOMAK4354WEI6TFJKGZLSPS5RFANCNFSM4BQPBYHQ .

-- Sincerely, Matthew Toussain