From ba5eff1de6129abd3d6ab73863b16d44924d76e4 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Fri, 23 Sep 2011 18:29:45 +0000 Subject: [PATCH] minor bug fix --- doc/THANKS | 3 +++ lib/takeover/web.py | 2 ++ 2 files changed, 5 insertions(+) diff --git a/doc/THANKS b/doc/THANKS index 6298ef60c..00a2f9164 100644 --- a/doc/THANKS +++ b/doc/THANKS @@ -611,6 +611,9 @@ mariano mitchell for reporting a bug +Nadzree + for reporting a minor bug + nightman for reporting considerable amount of bugs diff --git a/lib/takeover/web.py b/lib/takeover/web.py index 58822d2fa..e137ef7fb 100644 --- a/lib/takeover/web.py +++ b/lib/takeover/web.py @@ -239,6 +239,8 @@ class Web: uplPage, _, _ = Request.getPage(url=self.webStagerUrl, direct=True, raise404=False) + uplPage = uplPage or "" + if "sqlmap file uploader" not in uplPage: if localPath not in warned: warnMsg = "unable to upload the file stager "