diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b040238 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +# Byte-compiled / optimized / DLL files +__pycache__/ +*.pyc diff --git a/core/__init__.pyc b/core/__init__.pyc deleted file mode 100644 index e6651ba..0000000 Binary files a/core/__init__.pyc and /dev/null differ diff --git a/core/lib/__init__.pyc b/core/lib/__init__.pyc deleted file mode 100644 index 9f96356..0000000 Binary files a/core/lib/__init__.pyc and /dev/null differ diff --git a/core/lib/wp_banner.pyc b/core/lib/wp_banner.pyc deleted file mode 100644 index 2aae7b7..0000000 Binary files a/core/lib/wp_banner.pyc and /dev/null differ diff --git a/core/lib/wp_checker.pyc b/core/lib/wp_checker.pyc deleted file mode 100644 index 15d71a3..0000000 Binary files a/core/lib/wp_checker.pyc and /dev/null differ diff --git a/core/lib/wp_colors.pyc b/core/lib/wp_colors.pyc deleted file mode 100644 index bf76c91..0000000 Binary files a/core/lib/wp_colors.pyc and /dev/null differ diff --git a/core/lib/wp_info.pyc b/core/lib/wp_info.pyc deleted file mode 100644 index 5ea1f4f..0000000 Binary files a/core/lib/wp_info.pyc and /dev/null differ diff --git a/core/lib/wp_print.py b/core/lib/wp_print.py index 687cb8a..dc54be7 100755 --- a/core/lib/wp_print.py +++ b/core/lib/wp_print.py @@ -19,21 +19,21 @@ class WPPrint: def aprint(self,string,flag="##"): # flag = green - print "{}{}{} {}{}{}".format(self.g,str(flag),self.e,self.nw,str(string),self.e) + print u"{}{}{} {}{}{}".format(self.g,flag,self.e,self.nw,string,self.e) def bprint(self,string,flag="##"): # flag = red - print "{}{}{} {}{}{}".format(self.r,str(flag),self.e,self.nw,str(string),self.e) + print u"{}{}{} {}{}{}".format(self.r,flag,self.e,self.nw,string,self.e) def cprint(self,string,flag="##"): # flag = yellow - print "{}{}{} {}{}{}".format(self.y,str(flag),self.e,self.nw,str(string),self.e) + print u"{}{}{} {}{}{}".format(self.y,flag,self.e,self.nw,string,self.e) def dprint(self,string,flag="||"): # flag = green - print "\t{}{}{} {}{}{}".format(self.g,str(flag),self.e,self.nw,str(string),self.e) + print u"\t{}{}{} {}{}{}".format(self.g,flag,self.e,self.nw,string,self.e) def eprint(self,string,flag="||"): # flag = red - print "\t{}{}{} {}{}{}".format(self.r,str(flag),self.e,self.nw,str(string),self.e) + print u"\t{}{}{} {}{}{}".format(self.r,flag,self.e,self.nw,string,self.e) diff --git a/core/lib/wp_print.pyc b/core/lib/wp_print.pyc deleted file mode 100644 index 4ab0ca0..0000000 Binary files a/core/lib/wp_print.pyc and /dev/null differ diff --git a/core/lib/wp_request.py b/core/lib/wp_request.py index b9b9a48..743d0ac 100755 --- a/core/lib/wp_request.py +++ b/core/lib/wp_request.py @@ -51,7 +51,7 @@ def Send(self,url,method='GET',payload=None,headers=None,cookie=None): resp = urllib2.urlopen(req) except urllib2.HTTPError,e: resp = e - return resp.read(),resp.geturl(),resp.getcode(),resp.info() + return resp.read().decode('utf-8'),resp.geturl(),resp.getcode(),resp.info() class NoRedirectHandler(urllib2.HTTPRedirectHandler): def http_error_302(self,req,fp,code,msg,headers): diff --git a/core/lib/wp_request.pyc b/core/lib/wp_request.pyc deleted file mode 100644 index 820dc14..0000000 Binary files a/core/lib/wp_request.pyc and /dev/null differ diff --git a/core/modules/__init__.pyc b/core/modules/__init__.pyc deleted file mode 100644 index 94b0c26..0000000 Binary files a/core/modules/__init__.pyc and /dev/null differ diff --git a/core/modules/wp_attack.pyc b/core/modules/wp_attack.pyc deleted file mode 100644 index 050735c..0000000 Binary files a/core/modules/wp_attack.pyc and /dev/null differ diff --git a/core/modules/wp_brute.pyc b/core/modules/wp_brute.pyc deleted file mode 100644 index 646a9a0..0000000 Binary files a/core/modules/wp_brute.pyc and /dev/null differ diff --git a/core/modules/wp_generic.pyc b/core/modules/wp_generic.pyc deleted file mode 100644 index 8ba4640..0000000 Binary files a/core/modules/wp_generic.pyc and /dev/null differ diff --git a/core/modules/wp_plugin.pyc b/core/modules/wp_plugin.pyc deleted file mode 100644 index f664084..0000000 Binary files a/core/modules/wp_plugin.pyc and /dev/null differ diff --git a/core/modules/wp_theme.pyc b/core/modules/wp_theme.pyc deleted file mode 100644 index dab08ff..0000000 Binary files a/core/modules/wp_theme.pyc and /dev/null differ diff --git a/core/modules/wp_users.py b/core/modules/wp_users.py index 67f25f3..08e8b39 100755 --- a/core/modules/wp_users.py +++ b/core/modules/wp_users.py @@ -75,7 +75,7 @@ def init(self): users.append(x) if users != []: for z in range(len(users)): - self.print_.dprint("ID: {} - Name: {}".format(z,users[z])) + self.print_.dprint(u"ID: {} - Name: {}".format(z,users[z])) print "" elif users == []: self.print_.eprint("Not found users ") diff --git a/core/modules/wp_users.pyc b/core/modules/wp_users.pyc deleted file mode 100644 index 320eb3e..0000000 Binary files a/core/modules/wp_users.pyc and /dev/null differ