mirror of
https://github.com/byt3bl33d3r/MITMf.git
synced 2025-07-30 03:38:27 -07:00
formatting
This commit is contained in:
parent
642fa9cb6a
commit
6e5de539db
1 changed files with 3 additions and 3 deletions
|
@ -87,7 +87,7 @@ class ServerConnection(HTTPClient):
|
||||||
if param.split('=')[0] == 'q':
|
if param.split('=')[0] == 'q':
|
||||||
query = str(param.split('=')[1])
|
query = str(param.split('=')[1])
|
||||||
if query:
|
if query:
|
||||||
logging.info("%s is querying %s for %s" % (self.client.getClientIP(), self.headers['host'], query))
|
logging.info("%s is querying %s for: '%s'" % (self.client.getClientIP(), self.headers['host'], query))
|
||||||
except Exception, e:
|
except Exception, e:
|
||||||
error = str(e)
|
error = str(e)
|
||||||
logging.warning("%s Error parsing google search query %s" % (self.client.getClientIP(), error))
|
logging.warning("%s Error parsing google search query %s" % (self.client.getClientIP(), error))
|
||||||
|
@ -100,7 +100,7 @@ class ServerConnection(HTTPClient):
|
||||||
if param.split('=')[0] == 'qry':
|
if param.split('=')[0] == 'qry':
|
||||||
query = str(param.split('=')[1])
|
query = str(param.split('=')[1])
|
||||||
if query:
|
if query:
|
||||||
logging.info("%s is querying %s for %s" % (self.client.getClientIP(), self.headers['host'], query))
|
logging.info("%s is querying %s for: '%s'" % (self.client.getClientIP(), self.headers['host'], query))
|
||||||
except Exception, e:
|
except Exception, e:
|
||||||
error = str(e)
|
error = str(e)
|
||||||
logging.warning("%s Error parsing bing search query %s" % (self.client.getClientIP(), error))
|
logging.warning("%s Error parsing bing search query %s" % (self.client.getClientIP(), error))
|
||||||
|
@ -113,7 +113,7 @@ class ServerConnection(HTTPClient):
|
||||||
if param.split('=')[0] == 'command':
|
if param.split('=')[0] == 'command':
|
||||||
query = str(param.split('=')[1])
|
query = str(param.split('=')[1])
|
||||||
if query:
|
if query:
|
||||||
logging.info("%s is querying %s for %s" % (self.client.getClientIP(), self.headers['host'], query))
|
logging.info("%s is querying %s for: '%s'" % (self.client.getClientIP(), self.headers['host'], query))
|
||||||
except Exception, e:
|
except Exception, e:
|
||||||
error = str(e)
|
error = str(e)
|
||||||
logging.warning("%s Error parsing yahoo search query %s" % (self.client.getClientIP(), error))
|
logging.warning("%s Error parsing yahoo search query %s" % (self.client.getClientIP(), error))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue