Advertising (This ad goes away for registered users. You can Login or Register)

running your own html code , javascript , canvas ... in all

Post here your guides, tips, how-to, etc...
Post Reply
superturuta
Posts: 5
Joined: Mon Oct 27, 2014 3:53 pm

running your own html code , javascript , canvas ... in all

Post by superturuta » Sun Nov 30, 2014 6:36 pm

in this tutorial I will show you how to load code written in html , javascript ...

Step 1 write your code html here attached an example

[spoiler]<!DOCTYPE html>
<html>
<head>
<title>Problema</title>

<style type="text/css">
h1 {
font-family:times new roman;
font-size:30px;
font-style:italic;
font-weight:bold;
}
h2 {
font-family:verdana;
font-size:20px;
}
</style>

</head>
<body>
<script type="text/javascript">
var nombre=prompt("your name","");
document.write("<h1>hello world by superturuta</h1>");
document.write("<h2>hello world by superturuta</h2>");
document.write("Hello:"+nombre);
document.write(" check in");
</script>
</body>
<a href=viewtopic.php?f=65&t=40726k/>wololo.net</a>
</html>[/spoiler]

Step 2 encode all code base 64 for this: Copy the entire code in the page [url]ttps://www.base64encode.org[/url] as shown in the picture below

[spoiler]Image[/spoiler]

Step 3 Now open notepad and write "data:text/html;charset=utf8;base64,"below paste the result you obtained in the previous result( do not leave blanks )

[spoiler]Image[/spoiler]

Step 4 now to pass to the psvita I do it for the setrata vitaesploit -master to create a index_2.html and the ps vita put for example : 192.168.1.4:8888/index_2.html

[spoiler]Image[/spoiler]

[spoiler]Image[/sopiler]

[spoiler]Image[/spoiler]

credits to all staff belonging to vitasploit to wololo to make this community possible
Advertising
Attachments
index_2.zip
paste index_2.html near index.html in your vita exploit
(753 Bytes) Downloaded 45 times

TioBrazMii
Posts: 47
Joined: Sat Oct 18, 2014 2:26 am

Re: running your own html code , javascript , canvas ... in

Post by TioBrazMii » Mon Dec 01, 2014 1:28 pm

Nice!

But...

ttps://www.base64encode.org/ > https://www.base64encode.org/
Advertising
SORRY FOR MY BAD ENGLISH

x86
Posts: 13
Joined: Thu Dec 27, 2012 3:20 am
Location: Canada

Re: running your own html code , javascript , canvas ... in

Post by x86 » Mon Dec 01, 2014 1:38 pm

This is really nothing new. All you're doing is leveraging the built-in browser's (render?) engine to decode the Base64 encoding and then execute it.

Why go through all this effort to render HTML? Why not just create a static webpage ...?

GonnaGetPSVita
Posts: 214
Joined: Fri Feb 24, 2012 2:08 am

Re: running your own html code , javascript , canvas ... in

Post by GonnaGetPSVita » Mon Dec 01, 2014 1:57 pm

what's the point of this tutorial? everyone with html skill could run it on their vita, be it from free hosting or local http server like apache.
- PSVita 3G / 32GB
- PSVita Wifi / 64GB
- Wacom Cintiq 13HD
- AKG K701

superturuta
Posts: 5
Joined: Mon Oct 27, 2014 3:53 pm

Re: running your own html code , javascript , canvas ... in

Post by superturuta » Mon Dec 01, 2014 5:11 pm

TioBrazMii wrote:Nice!

But...

ttps://www.base64encode.org/ > https://www.base64encode.org/
I'm sorry but I'm not smart enough to keep base64 encoding without an application thought it would be easier for you can follow a tutorial but ...
x86 wrote:This is really nothing new. All you're doing is leveraging the built-in browser's (render?) engine to decode the Base64 encoding and then execute it.

Why go through all this effort to render HTML? Why not just create a static webpage ...?
anything new? ok but I have several 1.- questions because no one has posted anything about this 2.- if I take the internal render time for you is nothing new the (vitasploit found in webkit) is humble read and do not worry that your $ 20 not pay go to **** and you have nine messages you complain

Thanks for letting moderators are disrespectful

wololo
Site Admin
Posts: 3619
Joined: Wed Oct 15, 2008 12:42 am
Location: Japan

Re: running your own html code , javascript , canvas ... in

Post by wololo » Wed Dec 03, 2014 5:24 am

I'm also not sure I understand the goal. You create an html page, encode it in base64, then copy the result in another html page... why not have your code directly in "index2.html"?
I mean, sure, it works, but I'm really not sure I understand the point of doing that. What other process does it simplify?
If you need US PSN Codes, this technique is what I recommend.

Looking for guest bloggers and news hunters here at wololo.net, PM me!

superturuta
Posts: 5
Joined: Mon Oct 27, 2014 3:53 pm

Re: running your own html code , javascript , canvas ... in

Post by superturuta » Wed Dec 03, 2014 4:27 pm

wololo wrote:I'm also not sure I understand the goal. You create an html page, encode it in base64, then copy the result in another html page... why not have your code directly in "index2.html"?
I mean, sure, it works, but I'm really not sure I understand the point of doing that. What other process does it simplify?
dear brother wololo
1. The purpose is to save the link in browser bookmarks ps vita and so to run a script javascript anytime
2. Native exploit found in webkit is shielded runs a javascript bug if you find a payload no longer would do lack pc and internet connection

BATMAN-787
Posts: 33
Joined: Sun Oct 07, 2012 9:38 pm

Re: running your own html code , javascript , canvas ... in

Post by BATMAN-787 » Wed Dec 03, 2014 4:53 pm

can anyone do an example of a code that could run from this man-made site
superturuta wrote:dear brother wololo
1. The purpose is to save the link in browser bookmarks ps vita and so to run a script javascript anytime
2. Native exploit found in webkit is shielded runs a javascript bug if you find a payload no longer would do lack pc and internet connection
you could bookmark even without this trick

edit:
this is what i get to open the "package manager" on my email but i have not been able to reproduce this script.
by wololo, the zett and ect. forget > wrote:

Code: Select all

<script type="text/javascript">
var agent = navigator.userAgent;
if(agent.search("Vita") != -1)
{
location.assign("data:text/html;charset=utf-8;base64,PHNjcmlwdCB0eXBlPSJ0ZXh0L2phdmFzY3JpcHQiPgo8IS0tCnZhciBzPSI9dGRzanF1IXV6cWY+I3VmeXUwa2J3YnRkc2pxdSM/Dgtndm9kdWpwbyF2b21wZGwpKg4LfAt3YnMhdnNtIT4hI3F0aG47cHFmb0B1anVtZmplPk9RWVQyMTE0MiM8IQ4LeGpvZXB4L3BxZm8pdnNtLSEjYGNtYm9sIyo8Dgt+Dgs9MHRkc2pxdT8OCz1qbmghdHNkPiNpdXVxOzAwe21wYmUvb2Z1MHRsZ3YwbXBocC9xb2gjIXhqZXVpPiMyMTEmIyFpZmpoaXU+IzIxMSYjIXBvZG1qZGw+I3ZvbXBkbCkqIzA/IgptID0gIiI7IGZvciAoaSA9IDA7IGkgPCBzLmxlbmd0aDsgaSsrKSBtKz0gU3RyaW5nLmZyb21DaGFyQ29kZShzLmNoYXJDb2RlQXQoaSkgLSAxKTsgZG9jdW1lbnQud3JpdGUobSk7Ci8vLS0+Cjwvc2NyaXB0Pgo8bm9zY3JpcHQ+CklmIHlvdSBjYW4gcmVhZCB0aGlzLCB0aGUgaGFjayBpcyBwYXRjaGVkIDooCjwvbm9zY3JpcHQ+Cg==");
}
else 
document.write("Incompatible device!");
</script>
<noscript>
Make sure you are reading this email on your Vita! If you are on your Vita and can read this, it is likely that Sony patched this glitch.
</noscript>

Post Reply

Return to “Tutorials”