" Since 2004, Enigma Group has been providing its members a legal and safe security resource where they can develop their pen-testing skills on various challenges provided by this site. These challenges teach members the many types of exploits that are found in today's code; thus, helping them to become better programmers in the mean time. By knowing your enemy, you can defeat your enemy. "

September 07, 2010, 08:53:56 am *
Welcome, Guest. Please login or register.

Login with username, password and session length


<-- Please vote for us on the Progenic TopList!

Has this site helped you? Then help us with your support.

News: Download your copy of The Enigma Group Manual, intended for new members, as an introduction to this site.
 
Enigma Information
Main Index
EG Manual
Disclaimer
Legal Information
Hall of Fame
Hall of Shame
Member Rankings
Members List
Meet the Staff

Training Missions
Read Me First New
Basic Skills
Realistic Scenarios
Cryptography
Software Cracking
Linux ELF Binary Cracking
Logical Thinking
Programming
Captcha Cracking New
Patching
Steganography
Deface This Wall
/dev/null
/dev/urandom
/dev/extra New

Knowledge Bank
Discussion Forums
Enigma Chat New
RSS Feeds
Articles / Tutorials
Videos
Online EG MP3 Player
Enigma Zine
Downloads
Tools

Submit Code
Ajax
ASM
Bash
C
CPP
Csharp
Delphi
Haskell
Java
Javascript
Jython
Lisp
mIRC
MySQL
Perl
PHP
Python
QBASIC
VisualBasic

The Urinal

Click Here To Vote For EG!

hakipedia

Has Enigma Group Helped You? Then Help Us By Advertising For Us. Place One Of The Following Images On Your Site.

enigma group

enigma group

enigma group

enigma group
Pages: [1]
  Print  
Author Topic: Could anyone help me on JS1?  (Read 188 times)
0 Members and 1 Guest are viewing this topic.
Mobon1
Newbie
*
Offline Offline

Posts: 2
Rep: 0


on: July 25, 2010, 11:30:51 pm �

I've already done it through means of using fiddler2, I just want to know how to use javascript to edit the form dynamically. I've come up with this:

<spoiler removed>

However, whenever I enter it, it redirects me to a blank page with just "Jane."
What am I doing wrong?
Logged
Ultraminor
Full Member
***
Online Online

Posts: 192
Rep: 8

Python powered Mama Luigi


WWW
Reply #1 on: July 25, 2010, 11:46:17 pm �

Firstly, for future reference, you shouldn't put code on the missions forum. It spoils it for others. Secondly, you have to somehow supress the statement from doing that. There is a certain function in JS that allows you to do this. I leave it up to you to find it.
Logged


. -. .. --. -- .- --. .-. --- ..- .--.
I am here to learn not to download free porn.
Quote from: Nasrudin
Like I said before in one of his forum posts, that Ultraminor really needs to get off of his high horse or be smacked to a wall at a high velocity. Both would help.
Mobon1
Newbie
*
Offline Offline

Posts: 2
Rep: 0


Reply #2 on: July 26, 2010, 11:03:40 am �

Do you mean erm.. (v0)?
I've tried that, nothing happens when I do.
Logged
Ultraminor
Full Member
***
Online Online

Posts: 192
Rep: 8

Python powered Mama Luigi


WWW
Reply #3 on: July 26, 2010, 11:59:20 am �

It might look like nothing happens, but that's what it should look like. However, if after using an injection involving the function in question, it still doesn't work, then your injection is wrong. Check the Firefox error console (if you're using it), and check all your syntax.
Logged


. -. .. --. -- .- --. .-. --- ..- .--.
I am here to learn not to download free porn.
Quote from: Nasrudin
Like I said before in one of his forum posts, that Ultraminor really needs to get off of his high horse or be smacked to a wall at a high velocity. Both would help.
Ultraminor
Full Member
***
Online Online

Posts: 192
Rep: 8

Python powered Mama Luigi


WWW
Reply #4 on: July 26, 2010, 12:09:52 pm �

Note to anyone trying and failing on this mission:
    1) There are at least three ways of doing this.
    2) If you decide to use a straight Javascript injection, you need to figure out the syntax for changing a drop-down menu.
    3) As mentioned in a previous post, you will need to use another special JS function to prevent your injection from leading you astray.
Logged


. -. .. --. -- .- --. .-. --- ..- .--.
I am here to learn not to download free porn.
Quote from: Nasrudin
Like I said before in one of his forum posts, that Ultraminor really needs to get off of his high horse or be smacked to a wall at a high velocity. Both would help.
Ausome1
Administrator
Veteran
*****
Online Online

Posts: 1410
Rep: 56



Reply #5 on: July 26, 2010, 02:12:08 pm �

You can do the JS "visually" with one or two voids.

Doing it in one => add an option
Doing it in two => alter an existing options (1) value as well as the (2) name.
Logged

For any emergencys, contact son-of-a-bitch@damnit.com, for any other issues, just email sumbitch@damnit.com
Pages: [1]
  Print  
 
Jump to:  

Back To Top