Skip to content

Commit 1ffc651

Browse files
committed
Add framework to logfile (closes #24)
Use standard unicode strings
1 parent 0e66be2 commit 1ffc651

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

analyze_hosts.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313
from __future__ import absolute_import
1414
from __future__ import print_function
15+
from __future__ import unicode_literals
1516

1617
import argparse
1718
import os
@@ -37,7 +38,7 @@
3738
'pip install -r requirements.txt')
3839

3940

40-
VERSION = '0.11'
41+
VERSION = '0.13'
4142
ALLPORTS = [25, 80, 443, 465, 993, 995, 8080]
4243
SCRIPTS = """banner,dns-nsid,dns-recursion,http-cisco-anyconnect,\
4344
http-php-version,http-title,http-trace,ntp-info,ntp-monlist,nbstat,\
@@ -66,6 +67,8 @@ def analyze_url(url, port, options):
6667
analysis = wappalyzer.analyze(webpage)
6768
print_status('Analysis for {0}: {1}'.format(url, analysis),
6869
options)
70+
append_logs(options,
71+
'Analysis for {0}: {1}'.format(url, analysis))
6972
if 'Drupal' in analysis:
7073
do_droopescan(url, 'drupal', options)
7174
if 'Joomla' in analysis:

0 commit comments

Comments
 (0)