Skip to content
This repository has been archived by the owner on Oct 12, 2021. It is now read-only.

Commit

Permalink
BUGFIX - Thank you plugin now displayed last
Browse files Browse the repository at this point in the history
  • Loading branch information
Swissky committed Jun 11, 2017
1 parent ce6b395 commit ea8a6bf
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 10 deletions.
3 changes: 1 addition & 2 deletions engine/brute.py
Expand Up @@ -8,7 +8,6 @@

from core import *
from wordpress import *
from lxml import etree
from multiprocessing import Process, Pool

class Brute_Engine:
Expand All @@ -30,7 +29,7 @@ def __init__(self, wordpress, brute):
print notice("Bruteforcing " + brute)
print info("User found "+ brute)
self.bruteforcing_pass(wordpress, brute)

# Exit the bruteforce
exit()

Expand Down
7 changes: 3 additions & 4 deletions engine/load_plugins.py
Expand Up @@ -13,19 +13,18 @@ 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:

# Find and load the package
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)
3 changes: 2 additions & 1 deletion fuzz/wordlist.lst
Expand Up @@ -2,6 +2,7 @@
12345678
1234
pussy
password
12345
root
toor
Expand All @@ -13,6 +14,7 @@ letmein
admin
passw0rd
baseball
demo
letmein!
master
michael
Expand Down Expand Up @@ -502,4 +504,3 @@ phantom
billy
6666
albert
password
6 changes: 3 additions & 3 deletions plugins/thank-you.py → plugins/_thank-you.py
Expand Up @@ -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

0 comments on commit ea8a6bf

Please sign in to comment.