Hacking Articles Tips Tricks Videos Tutorials
470 subscribers
65.9K photos
15 videos
157 files
132K links
Exploit
Pentesting
Hacking
Red Team
Blue Team
Kali Linux
Bug Bounty
Black Hat
Cyber security etc

@Hacking_Video
@Hacking_attack
Download Telegram
Hacking Articles Tips Tricks Videos Tutorials
Hacking Articles A Detailed Guide on Wfuzz IntroductionMany tools have been developed that create an HTTP request and allow a user to modify their contents. Fuzzing works the same way. A user can send a similar request multiple times to the server with a…
p5Ped_2uEKS5W5IA=s16000 Docker run wfuzzWfuzz can also be launched using docker in the following way using the repo ghcr.io. The respective command can be run by replacing the last variable wfuzz.
docker run -v $(pwd)/wordlist:/wordlist/ -it ghcr.io/xmendez/wfuzz wfuzz
https://blogger.googleusercontent.com/img/a/AVvXsEgxN-5qgJ8JhMkpln3CRAF21JsgTt8Iub04WmjKxnPQXFIE3_xyEL_38AN0GbXGMROHeUc-hZ5iUUYmZH7GHCc7Cf4AvRvJN0AHYQVFVkkMDybENICGCaw7zTQ8STg4yWmQC6rdKuBFtFyUxgqAXDBn3Wk8GIWZfP8o9cwpZnOCv4GzfDyofyupoKYHnA=s16000 PayloadsA payload in Wfuzz is a source of input data. The available payloads can be listed by executing:
wfuzz -e payloads
https://blogger.googleusercontent.com/img/a/AVvXsEjxSHorx2LSzijihZhysIWIyUCGXO7Bm1NAoMP23LtCnoZIPr2GG75BLSta6_G4Pr3GfQdXrfWMP99vMPLtrGfEsZ7Uu65GxKrfqBjJobrLh74VNnc2uTSt1_OPHid2AbpqkSG1ESy6zxm8y8O7-u0MsEytQdHkesKPoMgz4eXNbI00m8ZJovP5WG-TLQ=s16000

The detailed view can also be looked at using the slice filter:
wfuzz -z help --slice "list"
https://blogger.googleusercontent.com/img/a/AVvXsEj57YLfIEglB5sRT5_R1SoxlFy00YdmwJ7ufXBui_Pjx1DPDORjwwBE4VN9pLLs8GKjAQ71TYwSrQEPg2NHmB7cu_bv_B5PA06CQaeVYS87NW7-MjU8ilwgRs1ciYUPz6s_8RRWEJ7R4WN4XsOO4ZftO5OPtD-xZJ-HOJUgRTVA9kTxJlBRajce1EdoUA=s16000 Subdomain FuzzingSubdomain discovery is extremely helpful in pentesting scenarios. Often, attackers launch attacks on subdomains rather than main domains and it can be fuzzed like so:

Here, -c color codes the output response codes
-Z specifies a URL to be input in scan mode and ignores any connection error
-w specifies the wordlist use while subdomain bruteforce.
wfuzz -c -Z -w subdomains.txt http://FUZZ.vulnweb.com
https://blogger.googleusercontent.com/img/a/AVvXsEhPJCIfwcLimqxxX3yX4CS1QzKhxKvBuWpO4wXfcz1t4PryHAeWgXf3_7g9Wt7noSF2HHXXgQ3Z_cuvQK1ZIP9pYhCbIpIMqR3lgAX5qWeFvOp7U3iKBUfMxiEd9SaEiKBzessAWoF7kUPNKqDU35oEhPFK3_r7sRj2WxR5uMhOLzuiFd0-jexIIO0nww=s16000

The same can be achieved by providing the subdomain list inline too. Only, the payload (-z option) should be supplied in with “list” as an input. The list is supplied in the format ITEM1-ITEM2-ITEM3 like so:
wfuzz -z list,CVS-testphp-admin-svn http://testphp.vulnweb.com/FUZZ
wfuzz -z list,CVS-testphp-admin-svn http://FUZZ.vulnweb.com/
https://blogger.googleusercontent.com/img/a/AVvXsEhOwqYT4IkngKI82XpByDIwUBwu54BiTytw0DtdOBdMlGF53oTswXa39LoQixpreYfNWpCYWHSP7cP_qMsNGbt8y80TdaoavjC620hFA_wJ3euabHB1aMaV7P4-J2tnw0K75VkF8z0th73r_EmXGP9LLfIi3boGWSGptzXJuGexIS9rSOcXEycjqsw9RQ=s16000 Directory FuzzingDirectories can be enumerated using wfuzz just like with gobuster by using a supplied wordlist. This can be done using a -w flag and inputting the path of the wordlist:
wfuzz -w wordlist/general/common.txt http://testphp.vulnweb.com/FUZZ
https://blogger.googleusercontent.com/img/a/AVvXsEj277p_KR8uFWmQOoWgkoPe8K3Yi-BaZzkIUqp1idoIohFKozd6qk8pni1piFESdqhkwEaCxxlJ8peBlPOqapXjqQeP6y_PETEsE31YfCaJY8f0qn4WkrEnFUWnzzSa8dZfATrcxCrM7LnouCYktvGmW5yEgwvnC-4gAIDMCh2WM1ccYprIbRXEsI0Jhg=s16000

As you can see in the above screenshot, all the results including page not found have been dumped which makes it tedious to go through the results and find pin in a haystack. Therefore, to sort the results out we can see the show code flag (–sc). Other such flags are:

* –hc/sc CODE #Hide/Show by code in response
* –hl/sl NUM #ide/Show by number of lines in response
* –hw/sw NUM #ide/Show by number of words in response
* –hc/sc NUM #ide/Show by number of chars in response
wfuzz -w wordlist/general/common.txt --sc 200,301 http://testphp.vulnweb.com/FUZZ
https://blogger.googleusercontent.com/img/a/AVvXsEjbd1usP52L5gE8UCIrKbnb4kSVQxslqSJNaJVfzZFfwqUodwFFq93w7yzWOd164u2FFj7vchCQ-gdurk911fsPnAprJ-atzCAUlSFPhlB5xOsEX8BFES5YhzJyaQ3QecicBOal6ZqKtqgd8hnby0_g5qshU6TlapzXmg5Po5eu0dAqridZvZsIk6soUQ=s16000 Saving fuzzing outputWfuzz output can also be saved in multiple formats using the -f option.

-f option allows a user to input a f[...]
Hacking Articles Tips Tricks Videos Tutorials
p5Ped_2uEKS5W5IA=s16000 Docker run wfuzzWfuzz can also be launched using docker in the following way using the repo ghcr.io. The respective command can be run by replacing the last variable wfuzz. docker run -v $(pwd)/wordlist:/wordlist/ -it ghcr.io/xmendez/wfuzz…
ile path and specify a printer (which formats the output) after a comma.
wfuzz -w wordlist/general/common.txt -f /tmp/output,csv --sc 200,301 http://testphp.vulnweb.com/FUZZ
cat /tmp/output
https://blogger.googleusercontent.com/img/a/AVvXsEi0XfulNz7-1u_3z3R0lPIQRB-GtUf1MJv8KUMCyxJjAVDkc2siw5NPUuy6a_A5MK2p-L-4A9WCyqJ9C2_mxiX1Nz0p4Gv29bYt2f6kI5Bkjf7jeuBR2VlQMpvS5ni7cmObudPw9zjtG2jz_WRAZH7G3HgkZB4SxoNVaVbNh4ZZx9m8K2DFrN0b_qBBWw=s16000

In place of csv, you can specify any one of the printers
wfuzz -e printers
https://blogger.googleusercontent.com/img/a/AVvXsEjdPFYA5HkCHc_leeKZz-f-z_TxEP3RcVetp4PRzOZBjtAUJFEbZZiGH55Ds0gUAorwp8Ewe6Z04YwzHSX7fHr5pC8f-GGg40S_6yTb-qLyI89_OdltKLnrT2Fzl3vEwNUS90sKAwwG8VrOQFU-F1SgQ0TFXAmksDdBdCxW8DWIR0u_iDWVbAJL3mS3Sg=s16000 Basic wordlist filtersThere are certain sub-arguments that can be preceded by -z or -w filter to play around more with. These filters are:

–zP <params: Arguments for the specified payload

–zD <default: Default parameter for the specified payload

–zE <encoder: Encoder for the specified payload

So, to specify a wordlist with the payload, we can do it like so:
wfuzz -z file --zD wordlist/general/common.txt --sc 200,301 http://testphp.vulnweb.com/FUZZ
https://blogger.googleusercontent.com/img/a/AVvXsEgXc7ppDQbYu3IiYF9XF2vIr6M9QJtOt7CkOqEZW_1OOPmojA6pDOOI44mk8vC9C8DmnIMobsv9Il5xGwUXSA7BMOZ2UdNJ-XeoTq94cVQg6fORFzHWUFWtPLy4TZfmsjJ9DOt4x8FqZLH2BY9vUYHGOyw1tHtaQFJ1UgkiS2LRR_uI6UgOtCcrZ8vRBg=s16000

To hide the HTTP response code 404, the same can be obtained like so:
wfuzz -z file --zD wordlist/general/common.txt --hc 404 http://testphp.vulnweb.com/FUZZ
https://blogger.googleusercontent.com/img/a/AVvXsEhGro9rtqkBf95ZAAdQZl_BDAWrD8Bx3k0sbPTCo_vD6Sm8TitrqCB1yeb5y2ghBlYG5Jio-4BtOlmLuSom5-j-pfv26XuoXguv-6WQHPfY1WYOQMyjriLCkOkL6Z346lhVNxoI6XBTNkOXKiXCEhYdd1JZEFHBymAMMXG9vKrjxOGiGO8Jlf1dsbT5ow=s16000 Double fuzzingJust like a parameter in a payload can be fuzzed using the keyword “FUZZ” multiple fuzzing is also possible by specifying keywords:

* FUZ2Z – 2nd parameter
* FUZ3Z – 3rd parameter
* FUZ4Z – 4th parameter

And each parameter can be allotted its own wordlist. The first “-w” stands for first FUZZ. Second “-w” holds for the second FUZ2Z and so on.
wfuzz -w wordlist/general/common.txt -w wordlist/general/common.txt --hc 404 http://testphp.vulnweb.com/FUZZ/FUZ2Z
https://blogger.googleusercontent.com/img/a/AVvXsEjBI2VSfPDC_CUAs_HbkjxZj0qRLWIMBx0iJeUoZyaz0Nt6ufIEPyDnp1MoiRyI4oEGnflOtmVYqgJD4vTPB1mCFd2jI6kfdoiH3i2tJrVbNA7jbuJl4H14Q_MIWrqRswRjxFusedPrVkCBnXjZ4SiT3zrzQk9afw3g4n2JXgEDpEaaKoZ81OpruJPwcQ=s16000 Login bruteforceHTTP responses can be brute-forced using wfuzz. For example, testphp’s website makes a POST request to the backend and passes “uname” and “pass” as the arguments to a page userinfo.php

https://blogger.googleusercontent.com/img/a/AVvXsEhr3yrCTyid_S5Es9Iubhi8sQ88tlSfmOiNce3KtLJaLdanm5a4qOhIyuzn3hxTNoJem4xuMCWTTJRlyA1rfR631FFPcqtKb5lpmCWNR1cLHq8fI7QE2MHmc7-kvXSOqlubgmM2OHSplvaxCSQF5jn_JUmVtlyEGlpl85ft8qOp5OqfzqI6_sjfKfWJJA=s16000

The same can be implemented using wfuzz like so:

-d argument specifies the post data to be sent along with the request
wfuzz -z file,wordlist/others/common_pass.txt -d "uname=FUZZ&pass=FUZZ"  --hc 302 http://testphp.vulnweb.com/userinfo.php
https://blogger.googleusercontent.com/img/a/AVvXsEhuLfheEAnnjVp-dUFpDUnz5flnvDZgcjk1gUK0VA2f06ywDgkJLoDddIlyUIpTwx0JAa4h1qdIo_D6o9GjUk8CiJyu2iIaIUA7tJnaCj_oeCDQPhk9xZY0JV0pKsuoyCg3D2qoWqqRcDhiq4NEWyNtcprKTQjoNwf17l7UsuI9xgG_czVxNzlYq83PEA=s16000

As you can see, the correct credentials “test-test” have been found. We used a common file for both username and password. The same can be done by providing different files for both usernames and passwords like so:

-c is to color code the output response which can be skipped.
wfuzz -z file,users.txt -z file,pass.txt --sc 200 -d "uname=FUZZ&pass=FUZ2Z" http://testphp.vulnweb.com/u[...]
Hacking Articles Tips Tricks Videos Tutorials
ile path and specify a printer (which formats the output) after a comma. wfuzz -w wordlist/general/common.txt -f /tmp/output,csv --sc 200,301 http://testphp.vulnweb.com/FUZZ cat /tmp/output https://blogger.googleusercontent.com/img/a/AVvXsEi0XfulNz7-1u_3z3R0lPIQRB…
serinfo.php
https://blogger.googleusercontent.com/img/a/AVvXsEidjYanb-YRNHfEvkqFCl_FS0tX8yJyPJVM_fAYHy1AaIV7YiSaWLthhrf_SHlmE5U-mMzIwzjsji41-37ckAzcrfuG3_jTv6rMoUifjDe_xxUfttjpCB2U76KlIbULN987nH9-rZ_4UfYI6bntW4KUsSKzzzPIHnHcvQYBOvBRYyiDXeBVpL61jMM0eg=s16000 Cookie fuzzingTo send a custom cookie along a request to different fuzzed directories we can use the “-b” plug. This would add a cookie to the sent HTTP request.

Scenario useful:

* Cookie poisoning
* Session hijacking
* Privilege Escalation
wfuzz -z file,wordlist/general/common.txt -b cookie=secureadmin -b cookie2=value2 --hc 404 http://testphp.vulnweb.com/FUZZ
https://blogger.googleusercontent.com/img/a/AVvXsEg5FcQAVag5_Vi12nW-N-jmvuo9ixifgydlaGwRZKV90t-hrcYtO6UwAMYjQ0wwiKDjhjsQrKQIz7WpMjfpctTw-XZ4i-YTFz6E0g6FM30jldlE5jQbsYSk4e35rLjtg3USRMX8Pl3dvKMzjejtBHUSl-bqM3LGnDWFjSMmDFzBL94PiZOCeoYBUxjuTA=s16000

In the above scenario, we have added 2 static cookies on multiple directories. Now, we can also fuzz the cookie parameter too like so:
wfuzz -z file,wordlist/general/common.txt -b cookie=FUZZ http://testphp.vulnweb.com/
https://blogger.googleusercontent.com/img/a/AVvXsEhfprPFK37CLoJybfULVYiJum1RU9OcpSlNKzobdaEA1ZaTWbNsEzjQduPqrGuQKWNonC4slt370i2qgS5i2APRF64oWBmMbQJkFJZb6zbsgljka-HoMM9QIGwCOKWAcQiDiJHulAq0RMQjehWUQ5VlK_s8KibM1SlDqHTTHMYFN-DVvIZvj0QcPD0afQ=s16000 Header fuzzingHTTP header can be added in a request being sent out by wfuzz. HTTP headers can change the behaviour of an entire web page. Custom headers can be fuzzed or injected in an outgoing request

Scenarios useful:

* HTTP Header Injections
* SQL Injections
* Host Header Injections
wfuzz -z file,wordlist/general/common.txt -H "X-Forwarded-By: 127.0.0.1" -H "User-Agent: Firefox" http://testphp.vulnweb.com/FUZZ
https://blogger.googleusercontent.com/img/a/AVvXsEhx3w1G28mcic7xy98Yv5PkaLJwMuqAHqRpeznFRiO4CeolH0tkPkktLpqtzCyXBN1zr5vLlNJ8vIfUY9G9tT424SDffxqHGyA-L0KHkalR2FdmixeIlJ__tI77v--4MQswXdLwBntYrDPGyrdfVBOIrz2BQudJHuOvOkneyl3248iQS0esmwByFOP85g=s16000 HTTP OPTIONS fuzzingThere are various HTTP Request/Options methods available that can be specified by using the “-X” flag. In the following example, We have inserted the following options in a text file called options.txt

* GET
* HEAD
* POST
* PUT
* DELETE
* CONNECT
* OPTIONS
* TRACE
* PATCH
wfuzz -c -w options.txt --sc 200 -X FUZZ “http://testphp.vulnweb.com
https://blogger.googleusercontent.com/img/a/AVvXsEh7rVvcqsW9LiyOsX7vTYxwe5ExQdaYsfVM0KZ-L2Y8V0Nl4YI6yS35sYH13-E6NKrH_Bye9LGzn1ntGofqu6cBRJ45eWgKixrQOSO5Hr1y3SfH4vpGcQb_iDpDYiMRRB9tV0GKJavyznLJSr9ef-9M6EMYzdJw3y6LiLWGAA6KFX6TSsGC82tvjas4_A=s16000

As you could see, three valid options returned a 200 response code.

The same can be input inline using the “list” payload like so:
wfuzz -z list,GET-HEAD-POST-TRACE-OPTIONS -X FUZZ http://testphp.vulnweb.com/
https://blogger.googleusercontent.com/img/a/AVvXsEi3L4sPuzrvwGbTF2PQ54kA7LIlpRUmwsu2mLZOIZO2jx45632tsJdAPHACj_Ij3cREw3qcZmEh9FAzcVdMU6zLw8J8JaskU-gWUMW9dwxxN_rTbfYvuhYdLlYXDmhjbq4zxhfjgRTtQ4fkBANkcZumFayyAPuI-lKMwjFAECoMM2RBkaJUVg9zoo8dzw=s16000 Fuzzing through ProxyWfuzz can also route the requests through a proxy. In the following example, a Burp proxy is active on port 8080 and the request intercepted in the burp intercept as you can see.
wfuzz -z file,wordlist/general/common.txt -p localhost:8080 http://testphp.vulnweb.com/FUZZ
https://blogger.googleusercontent.com/img/a/AVvXsEhmW3QkG3hSsg50RJrbMZTQ-SkDFbk89p6clAzif81GIyYShwMeUfGnaPD87O58JSeXKVw3tYTgkSbsYSKIZS76MXdWotK6lA65uHZB3o8snI5o5DYsl00TsVDeo7d-sIxylo6TEwlQzZaE9SZdMHDgSTatGDdBFPdXlMGbin_uUElpUEhyzoW06A3slQ=s16000

The same can also be achieved with SOCKS proxy like so:
wfuzz -z file,wordlist/general/common.txt -p localhost:9500:SOCKS5 http://testphp.vulnweb.com/FUZZ
https://blogger.googleusercontent.com/img/a/AVvXsEi2qZaOzLJ6sJXzkyfyMXnWPt2aVbU_1DiDm64SyqcG8-qM4oymKdoTRNPQdMjYwAIQnhzZOjORhl4ob57-m3_6xuMGTXR[...]
Hacking Articles Tips Tricks Videos Tutorials
serinfo.php https://blogger.googleusercontent.com/img/a/AVvXsEidjYanb-YRNHfEvkqFCl_FS0tX8yJyPJVM_fAYHy1AaIV7YiSaWLthhrf_SHlmE5U-mMzIwzjsji41-37ckAzcrfuG3_jTv6rMoUifjDe_xxUfttjpCB2U76KlIbULN987nH9-rZ_4UfYI6bntW4KUsSKzzzPIHnHcvQYBOvBRYyiDXeBVpL61jMM0eg=s16000…
3j5pKSlKqdBZO6MwLz1Wn066L1XghEk5f69q0JXx91FA6ASmanaUlVZU1vs8wqJ8Vkir3qp1VWL18eaBOEtpvRsmJ4jVbow=s16000 Authentication fuzzWfuzz can also set authentication headers and provide means of authentication through HTTP requests.

Flags:

* –basic: provides basic Username and Password auth
* –ntlm: windows auth
* –digest: webserver negotiation through digest access

In the following example, I am providing a list inline with two variables and –basic input to bruteforce a website httpwatch.com
wfuzz -z list,nonvalid-httpwatch --basic FUZZ:FUZZ https://www.httpwatch.com/httpgallery/authentication/authenticatedimage/default.aspx
https://blogger.googleusercontent.com/img/a/AVvXsEhws5prlUy-bp3BP3GYM0bmFwKclxvcpNeStoQ3QqnfVchRH_rJHOzvu6iDqRaL3UxJNn1SHlsHTyv2uV28GzDFRtMIXMf0Mp7k1Je0jQPpH3VHwa4aCMV7ymtC5MrRHR9TNitWvsAKA2lW13rpJgczib30_nve3B3RlDigj6sEFrnAjm0VgKaZ1WPclQ=s16000 Recursive fuzz-R switch can specify the levels of recursion while fuzzing directories or parameters. Recursion in simple terms means fuzzing at multiple different levels of directories like /dir/dir/dir etc

In the following example, we are recursing at level 1 with a list inline containing 3 directories: admin, CVS and cgi-bin. Note how a directory with – in its name can be supplied inline
wfuzz -z list,"admin-CVS-cgi\-bin" -R1 http://testphp.vulnweb.com/FUZZ
https://blogger.googleusercontent.com/img/a/AVvXsEjCEM9ckW-_O_us6Y2I7eHdBpDkkMT9ZkwVbGDQNgN2t4sqnCo7PY6FQN8WOAVN03YD1sjqBGudOoNBshDvBpjBExFF_uq-we_9cJU3_hJ5VVCDZik-KeZZ7SoDV0t_VmeyIda0JrTG57LhTklKwJdOhFeMVcTL0qiP5V7sUoBbBtkEr6XTGGe92Mm0AQ=s16000 Printers and outputPrinters in wfuzz refers to all the formats a payload’s output can be processed as. It can be viewed using -e succeeded by printers argument. Furthermore, “-o” flag can specify the format of the output too
wfuzz -e printers
wfuzz -o json -w wordlist/general/common.txt http://testphp.vulnweb.com/FUZZ
https://blogger.googleusercontent.com/img/a/AVvXsEiOyEwpslOs6tMoVZ586D64PfgvCf00Ddl3Zi9-ohn0i9cKy6jDenBDzPJMspJCT_jmOaPpN-zodrcpAZDy5PfCN_2v1l9ioV6BcD3_yOAF6fSWnRX9I6n7qkvYFavA1irCUz0_W6UTWZ4ZcrdoQitTgy8nW-STDDdM_M6U6J7pessZLeER2fXO_VNndw=s16000 EncodersVarious encoders are available in wfuzz. One such encoder we saw earlier was md5. Other encoders can be viewed by using “-e” flag with encoders argument.
wfuzz -e encoders
https://blogger.googleusercontent.com/img/a/AVvXsEhvBbuwsPZ7vGQjR1QqtVQZvP8I2C4t_At9RrJbn3iCvwu2H-H8LPHSqM3YG2UYKTYl39p2B2RPzelveFVXcVtNcu04VknQnDC-tNoxDaBnQPLSxiPuyfEZJ2V26s4BuhrA4kv35gaMohPSk1xaY44Recwha7DCDuo0ejU1ocOz3jfFIHqc0h9x9juIHA=s16000

One can fuzz a website for directories by using MD5 output like so:
wfuzz -z file,wordlist/general/common.txt,md5 http://testphp.vulnweb.com/FUZZ
https://blogger.googleusercontent.com/img/a/AVvXsEi75p7YlEtq-1FPh1JSxhMA7fbf5DX-PP3AU2BtavHxJANYh7usbjRJGPtGJk7rp7m5zzoMLImklbUwdlVakSijfC_LLFvsbiDecaLk2AAAnkNAsRLy_liLUF5EbipyO6NtwQa2iI8-hyXh1MI-ssddpfBE2sp_NWs0l6NNRTd5bhyCvkl02dJt_CoKuQ=s16000 Storing and restoring fuzz from recipesTo make scanning easy, wfuzz can save and restore sessions using the “–dump-recipe” and “–recipe” flag.
wfuzz -w wordlist/general/common.txt --dump-recipe /tmp/recipe --sc 200,301 http://testphp.vulnweb.com/FUZZ
wfuzz --recipe /tmp/recipe
https://blogger.googleusercontent.com/img/a/AVvXsEj7LUElLYhpYB9IZ4t7QhgYkW_TOSbV22webF-TPlRT3jFGSVl0ohMuHHvSKaEC-VrmM-bo9uUIBwvIrtkXyWEln6wdUT4JDQtiUbSytm4t1EbWytLtZ6MAt2iZt-qnSvHoLSORsQhZ8v2Zv31s9FPesOa5UZCnk4gY7EzIH-50Cdch55GYkrWL2I_Pag=s16000 Ignoring exceptions and errorsOften while fuzzing, there are various errors and exceptions that a website can throw. “-Z” option can make wfuzz ignore these errors and exceptions. First, we run a normal subdomain fuzzing routine and then with -Z option:
wfuzz -z list,support-web-none http://FUZZ.google.com/
wfuzz -z list,support-web-none -Z http://FUZZ.google.com/
As you could see, -Z ignores that error on the bott[...]
Hacking Articles Tips Tricks Videos Tutorials
3j5pKSlKqdBZO6MwLz1Wn066L1XghEk5f69q0JXx91FA6ASmanaUlVZU1vs8wqJ8Vkir3qp1VWL18eaBOEtpvRsmJ4jVbow=s16000 Authentication fuzzWfuzz can also set authentication headers and provide means of authentication through HTTP requests. Flags: * –basic: provides basic…
om. Further, any invalid response can also be hidden like so:
wfuzz -z list,support-web-none -Z --hc “XXX” http://FUZZ.google.com/
https://blogger.googleusercontent.com/img/a/AVvXsEiD9jm1E8_cStPYZPaulqoSi2Y8nJdokCNIwpEWEom0sRkfGSpc2PozAZIkw9C2cUwyj8DfG0i9-Jd3Cqbo0F2cO4ZvuHKiWEAyfRUS8d5ThiUk5qBHe9GN6wjWZmbCJJ4p6dM2RavBQgRT2_8ig-Mok3YuX9Xs_EIuXb1aGKPD-2_znEeQhVYOrZGKkg=s16000 Filtering resultsThere are many filters available to manipulate a payload or output.
wfuzz --filter-help
https://blogger.googleusercontent.com/img/a/AVvXsEjVyvyB69OSItJOJD2LS0sLdjnnchl5EcJsbNvbUgl3vjodEfcwf_OpsaGIGhC48VqEBXLAU9qsiWOf7hxTvyoQcfy7_bs46GIct9FZFJbbEfGWZc-1mTwRrSZqaYIDx-_hD3Vnal4JDxR9OcCAnnXyTvpWYN3KsDU2vGRylvnrOCiFY0nEXYccHiBvbg=s16000

These can be manipulated using “–filter, –slice, –field and –efield” arguments.

For example, to view raw responses of the payload sent and the complete HTTP request made, you can use “–efield r” option
wfuzz -z range --zD 0-1 -u http://testphp.vulnweb.com/artists.php?artist=FUZZ --efield r
https://blogger.googleusercontent.com/img/a/AVvXsEhKTOILk3-hpuhZPLV_hi8Ql8uqYFTORWbtX9oSjW3_f3fVLA1ngVjYua7ageWS6JZMFUybo0u0tpw7kyxu5cRFyKdW7qNXvVgX5I68WUYrKPsytSa5xc7Ka5TTbv8o_McTFvWHtG6PjTIjs_nXRcYXkOEvC3wgQvscNrfKYmWGNx3yjLUD-Hwrs5riKg=s16000

However, if only the intended URL is needed, one can do it by providing –efield url input.
wfuzz -z range --zD 0-1 -u http://testphp.vulnweb.com/artists.php?artist=FUZZ --efield url --efield h
https://blogger.googleusercontent.com/img/a/AVvXsEhJ_FwFIQmIWvrijOnnHH-0_M_7CuRXhQiXN_z0aD5hwkAhQ8ZwP5HlTVAqK4ClcZOlcRCMO3QEqpMT9Q7FnKxv-clGApz2TWArzPOL1S1N8LhzT-cD2lSEIktD7ybr19dFkPMqQdt4HWnQjKKdIrjKLXsFG3i1U6vyq1vWggdV5TYJxUHLVHdStfEN4A=s16000

Similarly, to filter out results based on the response code and the length of the page (lines greater than 97), you can do it like:
wfuzz -z range,0-10 --filter "c=200 and l>97" http://testphp.vulnweb.com/listproducts.php?cat=FUZZ
https://blogger.googleusercontent.com/img/a/AVvXsEhTz9IW7TuDaGR2gHYJka_pc2JkQmPAQriH1MDM5o1RXMoZAEvu9thHupG7bVCbcEGAnRU1L8PLB9q-Z-FTKDk4t7WMvMrkKF-kpoXymmlSX6370ORwRDDaP5YQxjkqq5IINGyVBM8D2CFw1oebJTy-18UQmVFZMTNgNxAk4O2HER2u6xIUBzfSPRQ_PQ=s16000

A detailed table of all the filters for the payloads can be found here. Sessions in wfuzzA session in wfuzz is a temporary file which can be saved and later picked up, re-processed and post-processed. This is helpful in situations where one result saved already needs alterations or an analyst needs to look for something in the results. “–oF” filter can save the session output to a file.
wfuzz --oF /tmp/session -z range,0-10 http://testphp.vulnweb.com/listproducts.php?cat=FUZZ
https://blogger.googleusercontent.com/img/a/AVvXsEiQiKQ7sXGQnyi9B1aFwMPZyKYurNtxp-Bs8Ld3mb80cTOkw2Q6zYN5Pq2rmGaeW-mu7nuQ1_g0f4BGGz0BAug5hUspnVSUYAaDZi3z1myhncY1vKv-rpICqdTZGBt9dfM8vDjAJ9nXyi9FEHcGsgRSiQ2nQdKZKOFH0cwDHQI5uOINnzD-72oz2g9gPQ=s16000

This session file can now be opened up again and consumed using the “wfuzzp” payload like so:
wfuzz -z wfuzzp,/tmp/session FUZZ
https://blogger.googleusercontent.com/img/a/AVvXsEikpddZ5GSmzRSbZmabTMNgyDR7kcrU-8LyZHru3ejhiey3fU5a_DimxLoe0Dut9A8O81m8q1oQF_f2o7rxLIHTDVx_oNOA0xdwdtu8_62OYY85Lqd21Edx2NukpaQigPIHL3dm38r2HbFaut3FWGtOwXH-QBD2aQOanQfKHhuwNQepwwrepNOnJWpYEg=s16000

One such example of this filteration from a previously saved session is as follows where we find an SQL injection vulnerability by utilizing a Python regex designed to read responses after a request modifies a parameter by adding an apostrophe (‘) and fuzzing again. “-A” displays a verbose output.

The regex r.params.get=+’\’  adds apostrophe (‘) in the get parameter. r stands for a raw response.
wfuzz -z range,1-5 --oF /tmp/session http://testphp.vulnweb.com/artists.php?artist=FUZZ
wfuzz -z wfuzzp,/tmp/session --prefilter "r.params.get=+'\''" -A FUZZ
https://blogger.googleusercontent.com/img/a/AVvXsEjMhBuzyEJE4W7udyMkHvrKivAHo9h9Wm[...]
Hacking Articles Tips Tricks Videos Tutorials
om. Further, any invalid response can also be hidden like so: wfuzz -z list,support-web-none -Z --hc “XXX” http://FUZZ.google.com/ https://blogger.googleusercontent.com/img/a/AVvXsEiD9jm1E8_cStPYZPaulqoSi2Y8nJdokCNIwpEWEom0sRkfGSpc2PozAZIkw9C2cUwyj8DfG0i9…
GjeTdm5FJLUDkGBx53kEt7fY3pCs58J9e46QwbXyvw1dSHmG3HNx0CXZNIycUYlbDYcJwH9fqjnhLc9iEfzcX3vUE2FtVVcZ2dA_CDLJOAZ5juV-3vDyNXv7R-KA6HtgTv8N5bPyJkVREFwGG7YApGynJhJw=s16000

As you can see, request number 4 throws an SQL error which indicates SQL injection. For more regex operations refer here. ConclusionWfuzz is a versatile tool that can perform more than just directory enumeration and truly help a pentester in his analyses. It’s a fast scanner that is easy to use and coded in python for portability. Hope you liked the article. Thanks for reading.

Author: Harshit Rajpal is an InfoSec researcher and left and right brain thinker. Contact here

The post A Detailed Guide on Wfuzz appeared first on Hacking Articles.
hacking: security in practice
fitbit charge 4 hacking nfc possible?

The device offers "fitbit pay" and functions with NFC; did anyone find a way to hack it and use the NFC module (for instance) for NFC emulation?

submitted by /u/LeonidasPrimus
[link] [comments]
hacking: security in practice
Should I go for button phones if I want more privacy?

I've read a lot of information online about privacy on phones. I thought to buy a flip-phone or a button phone for privacy and better productivity but as I'm reading more I begin to notice that some people say button phones don't give any more privacy.

submitted by /u/407PrxAuthReq
[link] [comments]
hacking: security in practice
I aspire to be a hacker, what courses should I take?

I am aware of a community college that does a network security course but I'm afraid it doesn't cover everything I need to know to become a hacker, what courses should I take to learn how to do impressive computer hacking?

submitted by /u/Electronic_Ad_5076
[link] [comments]
hacking: security in practice
Just got doxxed by DoD?!?

TL;DR: I spent a good part of my early twenties as a hacktivist. Various government agencies have contacted me over the years with every tactic you can think of (sales pitch, intimidation, etc). Today was the worst. An unknown individual doxxed me in minutes and knew every detail of my life.

I'm not hiding behind anonymity on this one. I'm whistle-blowing. I've long held the belief that to remove yourself as a person of interest in the cyber security space, you need to be noisy and too high of a risk for anyone to want to recruit you.

Over the years, I have watched friends disappear for unknown reasons. Leaving behind families and being nothing more than another missing person report. All because they had a skillset in software engineering or cryptography. I don't want to be one of them.

Today, I decided to kick up a couple of loose layers of security (VPN, vanilla virtual machine, etc) and pop into some old channels and see what the scoop was on Ukraine/Russia and the current state of the world. Within an hour of just chatting in these groups, I get a call on my cell phone (no info in the caller ID, just dashes) and a man on the other end basically summarizing my last year of life and history in tech back to me.. with then a pitch: "come work with us at the Department of Defence." I declined quickly and hung up. I'm not impressed with being doxxed, and I don't think there's anything "cool" or "exciting" about working for some three-letter agency in the US as this recruiter was trying to pitch. To be honest, this is Big Brother and it's no different than what I've seen with friends and colleagues of mine in Russia.

The US government is terrifying. Their willingness to treat people as commodities is horrendous. And despite being an optimistic patriot hoping that one day this country will be one I can be proud of... at this moment I am full of fear and despair about our country's journey.

As a hacker, I'm usually fearless because of my confidence in a cloak of invisibility. As a US citizen, I'm more scared of what my own government will do to me (i.e. indentured servant) for my skillset than I am any other power or group in the world.

Edit:

I'm not saying that I believe it's DoD either. It's possible someone is posing. But it's not me. I'm just sharing the facts in short summary and the underlying truth: one way or another it's unsettling to be contacted randomly by anyone and I have a major fear of US agencies. I'm being vulnerable and feeling so exposed. This isn't a 1337 or masterhacker brag. Quite the opposite: it shows that I'm not as secure as I so confidently thought I was.

Whoever the person actually was at the other end of the line is irrelevant. It was someone recruiting, that much is clear.. and I certainly have no reason to trust my own government, so there's no reason for me at this moment to doubt the authenticity of the claim.

submitted by /u/thinkclay
[link] [comments]
Hacking Articles Tips Tricks Videos Tutorials
Photo
KitPloit - PenTest Tools!
Authz0 - An Automated Authorization Test Tool. Unauthorized Access Can Be Identified Based On URLs And RolesAnd Credentials

https://blogger.googleusercontent.com/img/a/AVvXsEiJXmUtb0ekjydW1BxaI-onogJ5q9Wyz-ft41MsGOD4RL1vfzvx06LOUtxJMYte-eSLDNh5U1YZQlHpL91rW2p2jRDNyjAIzkoaP2j2CsIVDTg_BkcnFwDOjqEhAgKPaQJw8z0bXUaa2hdmFJIVmBzAYgxZZp1XyK3vM3W4rJ3D8NivemmBOYMMTKra=s320 Authz0 is an automated authorization test tool. Unauthorized access can be identified based on URLs and Roles & Credentials.

URLs and Roles are managed as YAML-based templates, which can be automatically created and added through authz0. You can also test based on multiple authentication headers and cookies with a template file created/generated once. https://blogger.googleusercontent.com/img/a/AVvXsEh6taL_kkBoxZliIxmzmLlHoXdYz7Gf2_aY67CnrjRLZcYOSmThcIK17b1I_E0jXftMpoOdgDQZq4VndMhkijBOJAUsvhrYZiTWBbfntmKjKk96SpK6u_BfDStbgBuZBC_sOQlkiNBtvvzNbAQo_crF7Tm5jqw_ExSiNCuPGAS6-2pCtUDfiP30a7AO=w640-h294
Key Features
* Generate scan template $ authz0 new* Include URLs
* Include Roles
* Include ZAP history (Select URLS > Save Selected Entiries as HAR)
* Include Burp history (Select URLs > Save item)
* Include HAR file

* Easy modify scan template (Role, URL) $ authz0 setUrl$ authz0 setRoleauthz0 setCred* Scanning authorization(access-control) with template $ authz0 scan
Installation
go install go install github.com/hahwul/authz0@latest homebrew brew tap hahwul/authz0
brew install authz0
Need more information? please refer to installation guide
Usage
Available Commands: completion Generate the autocompletion script for the specified shell
help Help about any command
new Generate new template
scan Scanning
setCred Append Credential to Template
setRole Append Role to Template
setUrl Append URL to Template
version Show version
1. Generate templateauthz0 new <filename[flags] e.g authz0 new target.yaml --include-urls urls.txt
authz0 new target.yaml --include-zap zapurls.har
authz0 new target.yaml --include-burp burpurl.xml
2. Modify templateauthz0 setCred <filename[flags]
authz0 setRole <filename[flags]
authz0 setUrl <filename[flags]
e.g authz0 setUrl target.yaml setUrl -u https://www.hahwul.com
authz0 setRole target.yaml -n User1
authz0 setCred target.yaml -n User1 -H "X-API-Key: 1234" -H "TestHeader: 12344"
3. Scanningauthz0 scan <filename[flags] e.g authz0 scan target.yaml
authz0 scan target.yaml -r TestUser1 -H "Cookie: 1234=1234" -H "X-API-Key: 1234555"

Documents
https://authz0.hahwul.com Question Please use discussions actively!
Changelog
Detailed changes for each release are documented in the release notes. Contributing Authz0's open-source project and made it with

if you want contribute this project, please see CONTRIBUTING.md and Pull-Request with cool your contents. Download Authz0
Authz0 - An Automated Authorization Test Tool. Unauthorized Access Can Be Identified Based On URLs And RolesAnd Credentials

Authz0 is an automated authorization test tool. Unauthorized access can be identified based on URLs and Roles & Credentials. URLs and Roles are managed as YAML-based templates, which can be automatically created and added through authz0. You can also test based on multiple authentication headers and cookies with a template file created/generated once.  Key Features Generate scan template $ authz0 new Include URLs Include Roles Include ZAP history (Select URLS > Save Selected Entiries as HAR) Include Burp history (Select URLs > Save item) Include HAR file Easy modify scan template (Role, URL) $ authz0 setUrl $ authz0 setRole authz0 setCred Scanning authorization(access-control) with template $ authz0 scan  Installation go install go install github.com/hahwul/authz0@latest homebrew brew tap hahwul/authz0brew install authz0 Need more information? please refer to installation guide  Usage Available Commands: completion Generate the autocompletion script for the specified shell help Help about any command new Generate new template scan Scanning setCred Append Credential to Template setRole Append Role to Template setUrl Append URL to Template version Show version 1. Generate template authz0 new <filename> flags e.g authz0 new target.yaml --include-urls urls.txtauthz0 new target.yaml --include-zap zapurls.harauthz0 new target.yaml --include-burp burpurl.xml 2. Modify template authz0 setCred <filename> flagsauthz0 setRole <filename> flagsauthz0 setUrl <filename> flags e.g authz0 setUrl target.yaml setUrl -u https://www.hahwul.comauthz0 setRole target.yaml -n User1authz0 setCred target.yaml -n User1 -H "X-API-Key: 1234" -H "TestHeader: 12344" 3. Scanning authz0 scan <filename> flags e.g authz0 scan target.yamlauthz0 scan target.yaml -r TestUser1 -H "Cookie: 1234=1234" -H "X-API-Key: 1234555"  Documents https://authz0.hahwul.com Question Please use discussions actively!  Changelog Detailed changes for each release are documented in the release notes. Contributing Authz0's open-source project and made it with if you want contribute this project, please see CONTRIBUTING.md and Pull-Request with cool your contents. Download Authz0
Read more...
hacking: security in practice
I’m sure you guys have seen this a million times, but my Gmail got hacked.

So I managed to get it back after having to reset it multiple times, and that was only after I turned off both my pc and phone’s internet usage. So do you guys know what exactly happened and how I could fix it? It started in the morning and I managed to get a hold a bit later on.

submitted by /u/Stuff-Things-Etc
[link] [comments]