BUGFIX - Thank you plugin now displayed last

pull/5/head
Swissky 2017-06-11 17:11:41 +02:00
parent ce6b395733
commit ea8a6bffbe
4 changed files with 9 additions and 10 deletions

View File

@ -8,7 +8,6 @@ import urllib
from core import *
from wordpress import *
from lxml import etree
from multiprocessing import Process, Pool
class Brute_Engine:
@ -30,7 +29,7 @@ class Brute_Engine:
print notice("Bruteforcing " + brute)
print info("User found "+ brute)
self.bruteforcing_pass(wordpress, brute)
# Exit the bruteforce
exit()

View File

@ -13,7 +13,6 @@ class Load_Plugins:
def __init__(self, wordpress):
available_plugins = os.listdir(self.plugin_folder)
for plugins in available_plugins:
if not ".pyc" in plugins and not "__init__" in plugins:
@ -21,11 +20,11 @@ class Load_Plugins:
name = plugins.replace('.py','')
f, file, desc = imp.find_module('plugins', ['.'])
pkg = imp.load_module('plugins', f, file, desc)
# Find and load the plugin
f, file, desc = imp.find_module(name, pkg.__path__)
loaded = imp.load_module('plugins.' + name, f, file, desc)
# Run the __init__
print notice('Plugin %s loaded.' % loaded.name)
loaded.__init__(wordpress)
loaded.__init__(wordpress)

View File

@ -2,6 +2,7 @@
12345678
1234
pussy
password
12345
root
toor
@ -13,6 +14,7 @@ letmein
admin
passw0rd
baseball
demo
letmein!
master
michael
@ -502,4 +504,3 @@ phantom
billy
6666
albert
password

View File

@ -2,14 +2,14 @@
# -*- coding: utf-8 -*-
# name : Example Title
# description : Example description
# description : Example description
# author : Wordpresscan Team
import requests
name = "Example-Plugin"
name = "Thank You"
def __init__(wordpress):
# INSERT CODE HERE!
print "Thank you for using this software :)"
return
return