From 8ca1c3540dbf190e6a7a9c613ac3f9dd0b9c594d Mon Sep 17 00:00:00 2001 From: tcstool Date: Tue, 17 Apr 2018 12:27:23 -0500 Subject: [PATCH] Removed no longer supported InsecureRequestWarning workaround. (#55) * Removed no longer supported InsecureRequestWarning workaround. * Add dependencies to README.md --- .DS_Store | Bin 0 -> 8196 bytes README.md | 9 +++++++-- vulnwhisp/.DS_Store | Bin 0 -> 6148 bytes vulnwhisp/frameworks/nessus.py | 3 --- vulnwhisp/frameworks/openvas.py | 3 --- vulnwhisp/frameworks/qualys.py | 4 ---- 6 files changed, 7 insertions(+), 12 deletions(-) create mode 100644 .DS_Store create mode 100644 vulnwhisp/.DS_Store diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..901341c2d258a81efe8251afb95c2820b4fdb679 GIT binary patch literal 8196 zcmeHMO>h)N6n-xRm=1(Y5Rx6j!b&O-Fo7gMew3e0Hef5b_W} zB&t&!Aar5@#si#@C{*d2GJ3#36@w51r8>!Dd^lk|z!`~B9Z;$R1~X$2p`e(Z^kQN- zU|eEYh8_q#u+Rhi_%O&p7Hn|tkKet?lU!#=W#&iJbqUw;b;~g`LfJA*8Zz8(Ifk3> zaI=o#iSHz(Kv9^&M%2jERBOZTx>#d#<8)nYsP)x}MfM5=jIGkTx{vgXsA|?TpEYgWw{m8u?wj6- zTIP|>-D%f3kuh^*Uw_)Qvl9+U%G0`?&eCAB-L{j~1=Abw&2v7l4S8$kBxXz3l&R%w85<(sIKFkpGBbU7%kaks zbuVo?hUJX)=Pb`k*=Db!PnhLc$JlH|Wu#QwplvLO=Bp@bwK9-RS!c7Be_qV7X|u+L z4O;mz*Wj}l>W2ywlIqQxc8W_98IwvwQD)UOWu>fE+rd;_>GjAG*;CJUG1X(e&(p?= z9<7P(QB;HV*?P*fWmgMpQ`8>TpOfaw&b4g6!Uodr!~_}XiD?hUHSIY*?NQzHk58Ho zE$IuIyR!hEL%>Y{w(m zgU9e0OyV$}#t|IFGw9+ZX3)bayoj&htN1#;iSOezypA{UCf>r2@e}+MZ{r=jE7w<4 z;OtS^E|mB^)fPFP#M$6@77Z@O+32CePbdBp&fZ%siTc>O^_!||>zi8k#pkwj-Y(wH zB|#p^4#AoNE5tTFKu1n#Z9^4{_7Se;B z@i2B_H<2)jeb|o!IEX1Uh=OA{j%SI2S5B z=_KMc!bPZ;OJ*F~b;d|qAnk*SVe4V>z%see2#@~{E&cod!(vXj&d>v)2mXNvu(&hX z*+Gg+UFba4j!_<^%o86sBT=YOA;NJ&5snki{b5M;7!Bn*@c?HeQV*qn{fB^xX!!nz L@4w*Qqg?zACA#E- literal 0 HcmV?d00001 diff --git a/README.md b/README.md index 887e499..ac2033e 100644 --- a/README.md +++ b/README.md @@ -45,8 +45,13 @@ Requirements Install Requirements-VulnWhisperer(may require sudo) -------------------- +**First, install requirement dependencies** +```shell -**First, install dependant modules** +sudo apt-get install zlibg1-dev libxml2-dev libxslt1-dev +``` + +**Second, install dependant modules** ```python cd deps/qualysapi @@ -54,7 +59,7 @@ python setup.py install ``` -**Second, install requirements** +**Third, install requirements** ```python pip install -r /path/to/VulnWhisperer/requirements.txt diff --git a/vulnwhisp/.DS_Store b/vulnwhisp/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..2da73037501a31a82b10562a5ed0f011fd3a5786 GIT binary patch literal 6148 zcmeH~F$w}f3`G;&V!>uh%V|7-Hy9Q@ffrCwY(zoPdXDZ-CJ3(9BJu;tpJXO1`-+{7 zh-iP?%|$v9Y2l_avoJ74-pE!qa+UpkbvYf+rvqwMAH`W)!#f%5$2NroNPq-LfCNb3 zhX~lc4QnS=8A*TyNZ?7pz7Gj*nnO!f|8yYu2mozRcEj3d323qcG>4X|sK7L)2aQ(s zF~sWL4oz_`hnA|fT{MOdjVG&3F)*#|q6rC1vkLuHq@&4g1L!&>UK-q5|WOfMZ}Ffv*yH E0HHP#t^fc4 literal 0 HcmV?d00001 diff --git a/vulnwhisp/frameworks/nessus.py b/vulnwhisp/frameworks/nessus.py index 59ab20e..9b2e1b3 100755 --- a/vulnwhisp/frameworks/nessus.py +++ b/vulnwhisp/frameworks/nessus.py @@ -1,7 +1,4 @@ import requests -from requests.packages.urllib3.exceptions import InsecureRequestWarning - -requests.packages.urllib3.disable_warnings(InsecureRequestWarning) import pytz from datetime import datetime import json diff --git a/vulnwhisp/frameworks/openvas.py b/vulnwhisp/frameworks/openvas.py index 3d19d1b..a562ada 100644 --- a/vulnwhisp/frameworks/openvas.py +++ b/vulnwhisp/frameworks/openvas.py @@ -8,11 +8,8 @@ import io import pandas as pd import requests from bs4 import BeautifulSoup -from requests.packages.urllib3.exceptions import InsecureRequestWarning from ..utils.cli import bcolors -requests.packages.urllib3.disable_warnings(InsecureRequestWarning) - class OpenVAS_API(object): OMP = '/omp' diff --git a/vulnwhisp/frameworks/qualys.py b/vulnwhisp/frameworks/qualys.py index 84c3fd8..9a434e5 100644 --- a/vulnwhisp/frameworks/qualys.py +++ b/vulnwhisp/frameworks/qualys.py @@ -9,10 +9,6 @@ import pandas as pd import qualysapi import qualysapi.config as qcconf import requests -from requests.packages.urllib3.exceptions import InsecureRequestWarning - -requests.packages.urllib3.disable_warnings(InsecureRequestWarning) - import sys import os import csv