BUGFIX - Thank you plugin now displayed last
parent
ce6b395733
commit
ea8a6bffbe
|
@ -8,7 +8,6 @@ import urllib
|
||||||
|
|
||||||
from core import *
|
from core import *
|
||||||
from wordpress import *
|
from wordpress import *
|
||||||
from lxml import etree
|
|
||||||
from multiprocessing import Process, Pool
|
from multiprocessing import Process, Pool
|
||||||
|
|
||||||
class Brute_Engine:
|
class Brute_Engine:
|
||||||
|
@ -30,7 +29,7 @@ class Brute_Engine:
|
||||||
print notice("Bruteforcing " + brute)
|
print notice("Bruteforcing " + brute)
|
||||||
print info("User found "+ brute)
|
print info("User found "+ brute)
|
||||||
self.bruteforcing_pass(wordpress, brute)
|
self.bruteforcing_pass(wordpress, brute)
|
||||||
|
|
||||||
# Exit the bruteforce
|
# Exit the bruteforce
|
||||||
exit()
|
exit()
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,6 @@ class Load_Plugins:
|
||||||
|
|
||||||
def __init__(self, wordpress):
|
def __init__(self, wordpress):
|
||||||
available_plugins = os.listdir(self.plugin_folder)
|
available_plugins = os.listdir(self.plugin_folder)
|
||||||
|
|
||||||
for plugins in available_plugins:
|
for plugins in available_plugins:
|
||||||
if not ".pyc" in plugins and not "__init__" in plugins:
|
if not ".pyc" in plugins and not "__init__" in plugins:
|
||||||
|
|
||||||
|
@ -21,11 +20,11 @@ class Load_Plugins:
|
||||||
name = plugins.replace('.py','')
|
name = plugins.replace('.py','')
|
||||||
f, file, desc = imp.find_module('plugins', ['.'])
|
f, file, desc = imp.find_module('plugins', ['.'])
|
||||||
pkg = imp.load_module('plugins', f, file, desc)
|
pkg = imp.load_module('plugins', f, file, desc)
|
||||||
|
|
||||||
# Find and load the plugin
|
# Find and load the plugin
|
||||||
f, file, desc = imp.find_module(name, pkg.__path__)
|
f, file, desc = imp.find_module(name, pkg.__path__)
|
||||||
loaded = imp.load_module('plugins.' + name, f, file, desc)
|
loaded = imp.load_module('plugins.' + name, f, file, desc)
|
||||||
|
|
||||||
# Run the __init__
|
# Run the __init__
|
||||||
print notice('Plugin %s loaded.' % loaded.name)
|
print notice('Plugin %s loaded.' % loaded.name)
|
||||||
loaded.__init__(wordpress)
|
loaded.__init__(wordpress)
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
12345678
|
12345678
|
||||||
1234
|
1234
|
||||||
pussy
|
pussy
|
||||||
|
password
|
||||||
12345
|
12345
|
||||||
root
|
root
|
||||||
toor
|
toor
|
||||||
|
@ -13,6 +14,7 @@ letmein
|
||||||
admin
|
admin
|
||||||
passw0rd
|
passw0rd
|
||||||
baseball
|
baseball
|
||||||
|
demo
|
||||||
letmein!
|
letmein!
|
||||||
master
|
master
|
||||||
michael
|
michael
|
||||||
|
@ -502,4 +504,3 @@ phantom
|
||||||
billy
|
billy
|
||||||
6666
|
6666
|
||||||
albert
|
albert
|
||||||
password
|
|
||||||
|
|
|
@ -2,14 +2,14 @@
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
# name : Example Title
|
# name : Example Title
|
||||||
# description : Example description
|
# description : Example description
|
||||||
# author : Wordpresscan Team
|
# author : Wordpresscan Team
|
||||||
|
|
||||||
import requests
|
import requests
|
||||||
|
|
||||||
name = "Example-Plugin"
|
name = "Thank You"
|
||||||
|
|
||||||
def __init__(wordpress):
|
def __init__(wordpress):
|
||||||
# INSERT CODE HERE!
|
# INSERT CODE HERE!
|
||||||
print "Thank you for using this software :)"
|
print "Thank you for using this software :)"
|
||||||
return
|
return
|
Loading…
Reference in New Issue