hURL – hexadecimal and URL encoder decoder

Hacking Truth
0


hURL – hexadecimal and URL encoder decoder



Ah yes, the origin of many memes. Cookies are an essential tool for modern websites to function. Tiny pieces of data, these are created by a website and stored on the user's computer.




You'll see notifications like the above on most websites these days. Websites use these cookies to store user-specific behaviours like items in their shopping cart or session IDs.







In the web application, we're going to exploit, you'll notice cookies store login information like the below! Yikes!



Cookies are not permanent storage solutions like databases. Some cookies such as session ID's will clear when the browser is closed, others, however, last considerably longer. This is determined by the "Expiry" timer that is set when the cookie is created.


Cookies can be set in various website programming languages. For example, Javascript, PHP or Python to name a few. The following web application is developed using Python's Flask, so it is fitting to use it as an example.hURL – hexadecimal and URL encoder decoder



hURL – hexadecimal and URL encoder decoder


hURL is a small utility that can encode and decode between multiple formats.



How to Install ?


sudo apt-get install hurl





How to Use ?

For Help Command


hURL --help




hurl Usage Examples



Decode the given base64-encoded string (-b “S2FsaSBMaW51eAo=”) and display the result.



hURL -b "S2FsaSBMaW51eAo="


hURL -b "Yg%3D%3D"


hURL -b
"SGVsbG8gZ3V5cywgbXlzZWxmIGt1bWFyIEF0dWwgSmFpc3dhbCwgcGxlYXNlI
GRvbid0IGZvcmdldCB0byBzdWJzY3JpYmUgYnV0dG9u"


hURL -b "gAN9cQAoWAkAAABzZXNzaW9uSWRxAVggAAAANTlhZjRlM2U0MGMzNDJ
kMDllNDQ1OTI0NjZkYWZmOGRxAlgLAAAAZW5jb2RlZGZsYWdxA1gYA
AAAVEhNe2dvb2Rfb2xkX2Jhc2U2NF9odWh9cQR1Lg=="




Explain :


-b for --base64  => base64 decode









Video Tutorial :- Soon..


 

Disclaimer


This was written for educational purpose and pentest only.
The author will not be responsible for any damage ..!
The author of this tool is not responsible for any misuse of the information.
You will not misuse the information to gain unauthorized access.
This information shall only be used to expand knowledge and not for causing  malicious or damaging attacks. Performing any hacks without written permission is illegal ..!


All video’s and tutorials are for informational and educational purposes only. We believe that ethical hacking, information security and cyber security should be familiar subjects to anyone using digital information and computers. We believe that it is impossible to defend yourself from hackers without knowing how hacking is done. The tutorials and videos provided on www.hackingtruth.in is only for those who are interested to learn about Ethical Hacking, Security, Penetration Testing and malware analysis. Hacking tutorials is against misuse of the information and we strongly suggest against it. Please regard the word hacking as ethical hacking or penetration testing every time this word is used.


All tutorials and videos have been made using our own routers, servers, websites and other resources, they do not contain any illegal activity. We do not promote, encourage, support or excite any illegal activity or hacking without written permission in general. We want to raise security awareness and inform our readers on how to prevent themselves from being a victim of hackers. If you plan to use the information for illegal purposes, please leave this website now. We cannot be held responsible for any misuse of the given information.



- Hacking Truth by Kumar Atul Jaiswal





I hope you liked this post, then you should not forget to share this post at all.
Thank you so much :-)


Post a Comment

0 Comments
* Please Don't Spam Here. All the Comments are Reviewed by Admin.
Post a Comment (0)
Our website uses cookies to enhance your experience. Learn More
Accept !