Follow us on Twitter!
Your life is ending one minute at a time. If you were to die tomorrow, what would you do today?
Friday, April 25, 2014
Navigation
Home
HellBoundHackers Main:
HellBoundHackers Find:
HellBoundHackers Information:
Learn
Communicate
Submit
Shop
Challenges
HellBoundHackers Exploit:
HellBoundHackers Programming:
HellBoundHackers Think:
HellBoundHackers Track:
HellBoundHackers Patch:
HellBoundHackers Other:
HellBoundHackers Need Help?
Other
Members Online
Total Online: 20
Guests Online: 18
Members Online: 2

Registered Members: 82909
Newest Member: awais
Latest Articles
View Thread

HellBound Hackers | Computer General | Web hacking

Author

Javascript automation


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 13-05-08 15:28
Hello,

I have created a little script that logs into some web service with my account and does some automated things in there. For this to work, I must first open Firefox and then execute the script manually. But my question is, is there a way to automatically open browser (or some other software piece) and execute stuff, perhaps from a single command line from the linux shell?

Thank you...

- Henux

Author

RE: Javascript automation


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 13-05-08 16:10
Absolutely, its called greasemonkey. Its a firefox extension and it is immensely useful. One of the best things since sliced bread.


Author

RE: Greasemonkey


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 13-05-08 16:35
This tool, beyond any doubt, is very useful but however, it is not what I am looking for.

What I mean would be some mechanism or tool that could be executed from linux shell. This tools would allow me to connect websites and then run javascripts in there. Something like this:

$ funnytool http://somehost.com myscript.js

I don't know if such tool exist. The reason why I would need something like this would be to trigger some event (that would do some automatic stuff in the Web) in response what is happening in my linux system.

Thank you.

- Henux


Edited by on 13-05-08 16:58
Author

RE: Javascript automation


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 13-05-08 16:41
Just use cURL then. Learn php or python and combine it with cURL and you can do exactly what you are looking for.


Author

RE: Javascript automation

ynori7
Member



Posts: 1486
Location: #valhalla
Joined: 08.10.07
Rank:
God
Posted on 13-05-08 16:56
if you just want a shortcut, just make a batch file or something that opens up your script in your browser.


halls-of-valhalla.org/images/affiliateLogo.png voodoorage.halls-of-valhalla.org/images/smallLogo.png
i537.photobucket.com/albums/ff338/ynori77/archenemysig1.jpg
ynori7 http://halls-of-valhalla.org
Author

RE: Javascript automation


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 13-05-08 16:57
Thank you for this info. About PHP and Python I already do know, but curl was new to me.

- Henux