Forum   Search   Register   Log in SUPERJER FORUM
 

thingey that i dont want to link

Pages: [1], 2
Programming Help
the_cloud_system
polly pushy pants

2008 Aug 1 • 2788
-6 ₧
ok so im stuck on this problom on hack this site

hack this site said:
Sam remains confident that an obscured password file is still the best idea, but he screwed up with the calendar program. Sam has saved the unencrypted password file in /var/www/hackthissite.org/html/missions/basic/8/

However, Sam's young daughter Stephanie has just learned to program in PHP. She's talented for her age, but she knows nothing about security. She recently learned about saving files, and she wrote an script to demonstrate her ability.

ok so i put in
code
<!--#exec cmd="ls" -->


and it gives me randomly named files in the name area

so i put in the box
code
<!--#exec cmd="ls webroot/missions/basic/8/" -->


and it gives me
hack this site said:
If you are trying to use server side includes to solve the challenge, you are on the right track: but I have limited the commands allowed to ones relevant towards finding the password file for security reasons(because there will always be that one person who decides to execute some rather nasty commands). So please manipulate your code so that it is a little more pertaining to the level.


what does this mean?
moo moo moo, moo.
    2010 Jan 28 at 10:32
the_cloud_system
polly pushy pants

2008 Aug 1 • 2788
-6 ₧
/missions/basic/8/"TheFile".php


never minds i just had to enter that in the nav bar and i gewt the password
moo moo moo, moo.
    2010 Jan 28 at 11:17
the_cloud_system
polly pushy pants

2008 Aug 1 • 2788
-6 ₧
ok so... can some one tell me how programing works, like the code lines you put in sprinkels

and how do you exacute it like in a txt file?
moo moo moo, moo.
    2010 Jan 28 at 12:17
sprinkles

Chrome Whore
2009 Sep 6 • 2431
10 ₧
I'm not sure what you mean cloud...but, I will try to answer your question.

Every program has the same thing in common, it starts the the function (or it could be a sub routine) Main

C# code
static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new Form1()); }


The
code
static void Main()
is the entry point into the program.
The
code
Application.Run(new Form1());
is what execute the code. Form1 is my class. the
code
Application.Run
tells it to create a new instance of Form1 (hence the 'new' keyword).
And, that is the basics.
...then I got some ap, and shot a big ass lazar at everyone.
    (Edited 2010 Jan 28 at 12:41)     2010 Jan 28 at 12:39
the_cloud_system
polly pushy pants

2008 Aug 1 • 2788
-6 ₧
thank you i solved it but what i was asking is all the code you do where do you put it?
moo moo moo, moo.
    2010 Jan 28 at 13:04
sprinkles

Chrome Whore
2009 Sep 6 • 2431
10 ₧
In the Form1 Class
Here is an updated version....

code
using System; using System.Collections.Generic; using System.Linq; using System.Windows.Forms; namespace WhiteBird { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new Browser()); } } }


code
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace WhiteBird { public partial class Browser : Form { public Browser() { InitializeComponent(); } private void Browser_Load(object sender, EventArgs e) { } private void aboutToolStripMenuItem_Click(object sender, EventArgs e) { About aboutForm = new About(); aboutForm.ShowDialog(); } } }
...then I got some ap, and shot a big ass lazar at everyone.
    (Edited 2010 Jan 28 at 13:33)     2010 Jan 28 at 13:33
Down Rodeo
Cap'n Moth of the Firehouse

Find the Hole II Participation Medal
2007 Oct 19 • 5258
57,583 ₧
Sprinkles, stop giving him bad ideas about what programming is!
Everyone stares when you walk in the room, they stare when you go....
    2010 Jan 28 at 16:24
sprinkles

Chrome Whore
2009 Sep 6 • 2431
10 ₧
DR, he is a virgin (to programming). He wouldn't know were to start. Hell I am a novice, and I hardly know where to start.

Anyways, Cloud, what kind of programming are you doing? What language are you using?
...then I got some ap, and shot a big ass lazar at everyone.
    (Edited 2010 Jan 28 at 16:29)     2010 Jan 28 at 16:28
Down Rodeo
Cap'n Moth of the Firehouse

Find the Hole II Participation Medal
2007 Oct 19 • 5258
57,583 ₧
Hey, I was just being funny. There's something of an old-schooler in me that doesn't like the size of applications nowadays, with all the classes running upwards. Like, when a Java program has a runtime error? Jesus, there are so many classes it runs backwards through, and this is for something command-line. Same idea for C# but in the software for IKEA it's WORSE. Which I didn't think was possible.
Everyone stares when you walk in the room, they stare when you go....
    2010 Jan 28 at 16:37
sprinkles

Chrome Whore
2009 Sep 6 • 2431
10 ₧
So, you work for Ikea?
...then I got some ap, and shot a big ass lazar at everyone.
    2010 Jan 28 at 16:51
the_cloud_system
polly pushy pants

2008 Aug 1 • 2788
-6 ₧
im not gona start it seames interisting but...

its just that hack-this-site has probloms that needing to be solved but i dont know to ancer them :|
moo moo moo, moo.
    2010 Jan 28 at 17:03
sprinkles

Chrome Whore
2009 Sep 6 • 2431
10 ₧
What the hell! I can't even get past the first test!
...then I got some ap, and shot a big ass lazar at everyone.
    2010 Jan 28 at 17:20
Rockbomb
Dog fucker

2009 Nov 13 • 1849
-190 ₧
sprinkles said:
What the hell! I can't even get past the first test!

LOL! The first test is soooooo easy man...
Look at the page source xD
    2010 Jan 28 at 17:21
sprinkles

Chrome Whore
2009 Sep 6 • 2431
10 ₧
Rockbomb said:
sprinkles said:
What the hell! I can't even get past the first test!

LOL! The first test is soooooo easy man...
Look at the page source xD


RockBomb, thanks.

74fe3f41


Yeah, I got the second one all by myself.


And, now I am stuck on level 3.
...then I got some ap, and shot a big ass lazar at everyone.
    (Edited 2010 Jan 28 at 17:40)     2010 Jan 28 at 17:29
the_cloud_system
polly pushy pants

2008 Aug 1 • 2788
-6 ₧
:|

http://www.hackthissite.org/user/view/cloudsystem/

Basic: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) (11)
Realistic: (1) (2) (3) (4) (5)
Javascript: (1) (2) (3) (4) (5) (7)
Extbasic: (1)
Stego: (1) (2) (3) (4) (5) (6) (7)
thats what i finished >:D
moo moo moo, moo.
    (Edited 2010 Feb 3 at 17:36)     2010 Jan 28 at 17:42
sprinkles

Chrome Whore
2009 Sep 6 • 2431
10 ₧
the_cloud_system said:
:|

http://www.hackthissite.org/user/view/cloudsystem/

Basic: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) (11)
Realistic: (1) (2) (3)
Javascript: (1) (2) (3) (4) (5) (7)
Extbasic: (1)
Stego: (1) (2) (3) (4) (5) (6) (7)

thats what i finished >:D


Error!
Bad referrer



Error!
CSRF attack blocked

What!?
...then I got some ap, and shot a big ass lazar at everyone.
    (Edited 2010 Jan 28 at 17:49)     2010 Jan 28 at 17:47
the_cloud_system
polly pushy pants

2008 Aug 1 • 2788
-6 ₧
i gess i cant link to my page...
moo moo moo, moo.
    2010 Jan 28 at 17:49
sprinkles

Chrome Whore
2009 Sep 6 • 2431
10 ₧
Cloud, teach me how to 'hack this site.'
...then I got some ap, and shot a big ass lazar at everyone.
    2010 Jan 28 at 17:51
the_cloud_system
polly pushy pants

2008 Aug 1 • 2788
-6 ₧
as long as you tell me that fedex is always wrong and edan will come back


tell me what hellp you need
moo moo moo, moo.
    2010 Jan 28 at 17:52
sprinkles

Chrome Whore
2009 Sep 6 • 2431
10 ₧
Teach me what you know.
...then I got some ap, and shot a big ass lazar at everyone.
    2010 Jan 28 at 17:58
the_cloud_system
polly pushy pants

2008 Aug 1 • 2788
-6 ₧
lol i know alot


google is your frend
moo moo moo, moo.
    2010 Jan 28 at 18:04
sprinkles

Chrome Whore
2009 Sep 6 • 2431
10 ₧
Teach me the basics.
...then I got some ap, and shot a big ass lazar at everyone.
    2010 Jan 28 at 18:06
the_cloud_system
polly pushy pants

2008 Aug 1 • 2788
-6 ₧
http://www.hackthissite.org/missions/basic/6/ is gona be a bitch to you
moo moo moo, moo.
    2010 Jan 28 at 18:08
sprinkles

Chrome Whore
2009 Sep 6 • 2431
10 ₧
It's a hash algorithm probably. Brute force it.
...then I got some ap, and shot a big ass lazar at everyone.
    2010 Jan 28 at 18:15
Rockbomb
Dog fucker

2009 Nov 13 • 1849
-190 ₧
6 to me was really easy. I'm stuck on basic 9 :/
I think I'm overthinking it, cuz it says its easier than I think, hmmm...
Screw it, imma move on and do some javascript missions.
    2010 Jan 28 at 18:20

Pages: [1], 2
Forum and design copyright © 2008-2010 SuperJer.com