Hackvertor export API
Wednesday, 26 January 2011
I’ve had requests to create a Hackvertor API to allow you to embed it on your own sites, so I’ve created one. It uses postMessage to communicate and you can set the width, height, top, left and callback for your output. The code looks like this:-
Hackvertor.write({top:'0px',left:'300px',width:'700px',height:'400px', callback:function(str) { document.getElementById('output').value=str; }});
This will write a iframe pointing to the Hackvertor export and the callback will retrieve the output. I’ve done a complete sample to show you how it works:-
Hackvertor export example
The API contains a couple of functions:-
Hackvertor.show() – Shows the Hackvertor window
Hackvertor.hide() – Hides the Hackvertor window
Hackvertor.send(str) – Sends some input to Hackvertor
fixed!. But anyway enjoy!
It still doesn’t work on Chrome correctly yet as there is a minor JSReg issue I need to sort out, I’ll fix that as soon as I’ve got time
No. 1 — January 26th, 2011 at 6:18 pm
Many Thanks! I’ll update Mario’s PCE with HV embedded at yehg.net\e
No. 2 — February 3rd, 2011 at 8:53 am
I know you are busy, but don’t you want to fix those sandbox issues which are under my profile first? π Some of them still work.
However, I’m sure if you fix them all, some of the legit functions will stop working.
No. 3 — February 3rd, 2011 at 8:58 am
Great! I checked your website, you’ve fixed them all!
I’m sure that last week it was still vulnerable π
Let me know if you have any other challenge π
No. 4 — February 3rd, 2011 at 9:00 am
Soroush you’d defo be one of the first ones I’d challenge π