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

Commit

Permalink
Merge pull request #21 from sergejmueller/0.6.1
Browse files Browse the repository at this point in the history
v0.6.1
  • Loading branch information
sergejmueller authored Aug 2, 2016
2 parents a7cb316 + b4684a3 commit b8b49bb
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 18 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
# wpscan / CHANGELOG


### v0.6.1 (2016-08-02)

##### Changes
* Test: Verify filter naming output
* Todo: Remove & restructure tasks
* Readme: Text changes
* package.json: Update `eslint` version


### v0.6.0 (2016-08-01)

##### New
Expand Down
2 changes: 1 addition & 1 deletion HOWTO.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ Modify `mod_php5.c` to `mod_php7.c` if PHP7 is installed on your server.

### Nice to have

###### Move WordPress default folders
##### Move WordPress default folders

* [wp-content](https://codex.wordpress.org/Editing_wp-config.php#Moving_wp-content_folder)
* [plugins](https://codex.wordpress.org/Editing_wp-config.php#Moving_plugin_folder)
Expand Down
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
- WordPress installed in a subdirectory.
- Changeable User-Agent string.
- Silent mode displays warnings only.
- Howto: [WordPress security best practices](HOWTO.md).
- Fix issues: [WordPress security best practices](HOWTO.md).
- Beginner friendly, easy to install.
- Lightweight, cross plattform framework.
- **Work in progress**, see [todos](TODO.md) and [changelog](CHANGELOG.md).
Expand Down Expand Up @@ -102,15 +102,16 @@ The power of `wpscan` is the flexibility: You can expand the tool functionality
- must be stored as `.js` files
- can be a `Node.js` script
- can be a `npm` package
- need to be structured as follows:
- must have a exported function named `fire`

```javascript
exports.fire = ( data ) => {
// console.log( data )
// Play with data
// console.log( data )
}
```

`wpscan` will run every custom rule file. The file naming does not matter. Feel free to create your own rules, enjoy!
`wpscan` will run (technically `require`) every custom rule file. The file naming does not matter, short names are welcome. Feel free to create your own rules, enjoy!

##### Get inspired
- [example custom rules](example/rules)
Expand Down
18 changes: 7 additions & 11 deletions TODO.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
### Open todos

- [ ] Rule: Registration possibility
- [ ] Rule: Default admin user
- [ ] Rule: Available users
- [ ] Rule: WordPress DB default prefix
- [ ] Rule: Error display status
- [ ] Rule: Directory browsing
- [ ] Rule: WordPress version (e.g. `wp-links-opml.php`)
- [ ] Rule: Theme version
- [ ] Rule: Plugins versions
- [ ] Rule: Vulnerabilities via https://wpvulndb.com
- [ ] Nice: Output rule keys for a better search
- [ ] Rule: Check for directory browsing
- [ ] Rule: Check for registration possibility
- [ ] Rule: Check for default admin user
- [ ] Rule: Detect and compare WordPress version (from `wp-links-opml.php`, ...)
- [ ] Rule: Detect and compare theme version
- [ ] Rule: Detect and compare plugins versions
- [ ] Rule: Get vulnerabilities from https://wpvulndb.com
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wpscan",
"version": "0.6.0",
"version": "0.6.1",
"description": "Vulnerability scanner for WordPress",
"preferGlobal": true,
"main": "index.js",
Expand Down Expand Up @@ -37,7 +37,7 @@
"valid-url": "^1.0.9"
},
"devDependencies": {
"eslint": "^3.2.0",
"eslint": "^3.2.2",
"must": "^0.13.2",
"mocha": "^3.0.0",
"child-process-promise": "^2.0.3"
Expand Down
4 changes: 4 additions & 0 deletions test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,10 @@ describe( 'wpscan CLI', () => {
data.must.include( `${testURI}/wp-login.php is protected by HTTP Auth` )
data.must.include( `${testURI} is not affected by FPD vulnerability` )

data.must.include( 'wp-login' )
data.must.include( 'sensitive-files' )
data.must.include( 'fpd-vulnerability' )

done()

} )
Expand Down

0 comments on commit b8b49bb

Please sign in to comment.