Skip to content
This repository has been archived by the owner on Apr 19, 2020. It is now read-only.

Commit

Permalink
fixed PhishingManager SetEnv path not working with dnsspoof #90
Browse files Browse the repository at this point in the history
  • Loading branch information
mh4x0f committed Sep 29, 2016
1 parent 71548a9 commit e1b22ba
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
1 change: 1 addition & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Version 0.8.1
- removed pledgie campaign and added only PayPal
- fixed setup_logger in module PhishingManager
- fixed redirect all HTTP with DNSSpoof when AP is enabled
- fixed PhishingManager SetEnv path not working with dnsspoof #90

Version 0.7.8
-------------
Expand Down
1 change: 1 addition & 0 deletions Core/config/commits/Lcommits.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ master:
{ changelog : 'removed pledgie campaign and added only PayPal' },
{ changelog : 'fixed setup_logger in module PhishingManager' },
{ changelog : 'fixed redirect all HTTP with DNSSpoof when AP is enabled' },
{ changelog : 'fixed PhishingManager SetEnv path not working with dnsspoof #90' },
]

WiFiPumpkin078:
Expand Down
7 changes: 2 additions & 5 deletions Modules/servers/PhishingManager.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from PyQt4.QtCore import *
from PyQt4.QtGui import *
from os import popen,chdir,getcwd
from os import popen
from urllib2 import urlopen,URLError
from BeautifulSoup import BeautifulSoup
from Core.Utils import ThreadPhishingServer
Expand Down Expand Up @@ -32,7 +32,6 @@ def __init__(self, parent = None):
super(frm_PhishingManager, self).__init__(parent)
self.label = QLabel()
self.Main = QVBoxLayout()
self.owd = getcwd()
self.config = frm_Settings()
self.session = str()
self.setWindowTitle('Phishing Manager')
Expand Down Expand Up @@ -256,17 +255,15 @@ def start_server(self):
self.emit(SIGNAL('Activated( QString )'),'started')

def DirectoryPhishing(self,Path=None):
chdir(Path)
popen('service apache2 stop')
self.Tphishing = ThreadPhishingServer(['php', '-S','{}:{}'.format(
str(self.txt_redirect.text()),str(self.BoxPort.value()))])
str(self.txt_redirect.text()),str(self.BoxPort.value())),'-t',Path])
self.Tphishing.send.connect(self.ResponseSignal)
self.Tphishing.setObjectName('Server PHP::'+Path)
self.ThreadTemplates['Server'].append(self.Tphishing)
self.Tphishing.start()
while True:
if self.Tphishing.process != None:
chdir(self.owd)
break
self.btn_start_template.setEnabled(False)
self.btn_stop_template.setEnabled(True)
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,3 +101,4 @@ Happy MITM!
### Donate
##### paypal:
[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=PUPJEGHLJPFQL)
Via BTC: 1HBXz6XX3LcHqUnaca5HRqq6rPUmA3pf6f

0 comments on commit e1b22ba

Please sign in to comment.