Recommended reading about how XSS works, how to avoid this kind of attack.
https://excess-xss.com/
Este é um blog onde anoto dicas técnicas de informática e computação. This is a blog where I write down technical tips on computing. Be aware that some resources used in this blog may use cookies to collect information used by Ads and Google Analytics. I do not monetize from this website, neither require or use personal information.
Showing posts with label http. Show all posts
Showing posts with label http. Show all posts
Friday, July 17, 2020
Friday, July 1, 2016
Generate Basic Athentication in command line
Using Curl
$ curl -vv --user myusername:mypassword http://www.google.com 2>&1 | grep Authorization
Using GNU base64
Encode
$ printf "thiago:masaki" | base64
> dGhpYWdvOm1hc2FraQ==
Decode
$ printf "dGhpYWdvOm1hc2FraQ==" | base64 -d
> thiago:masaki
$ curl -vv --user myusername:mypassword http://www.google.com 2>&1 | grep Authorization
Using GNU base64
Encode
$ printf "thiago:masaki" | base64
> dGhpYWdvOm1hc2FraQ==
Decode
$ printf "dGhpYWdvOm1hc2FraQ==" | base64 -d
> thiago:masaki
Subscribe to:
Posts (Atom)