Execute Scripts via QR Code

No explicit questions like "how do I hack xxx.com" please!
Post Reply
User avatar
maboroshi
Dr. Mab
Dr. Mab
Posts: 1624
Joined: 28 Aug 2005, 16:00
18

Execute Scripts via QR Code

Post by maboroshi »

Lilrofl got me on to this idea so I have been exploring some concepts of executing scripts from QR Codes.

I have only gone a little ways, but running a Javascript function from a URL is quite doable. Check out the code here

Code: Select all

eval(document.location.hash.substring(1))
Then executing an alert function from a URL

Code: Select all

www.techshinobi.com/test.html#alert('heello');
Ultimately I would execute some sort of Javavscript Android API call. Or some sort of Exploit.

Here is the QR Code if you wish to scan it.

Image

Anyway that is all enjoy!

User avatar
ayu
Staff
Staff
Posts: 8109
Joined: 27 Aug 2005, 16:00
18
Contact:

Re: Execute Scripts via QR Code

Post by ayu »

I shall try this : o
"The best place to hide a tree, is in a forest"

Post Reply