Welcome to HBH! If you have tried to register and didn't get a verification email, please using the following link to resend the verification email.

UPDATED


ghost's Avatar
0 0

I just update my post:

I have been trying all night, I think I fairly far but I can not get the querys to check and update properly… Right now the pass = pass thing works, it just won't say that you beat the challenge after you already got your user_basic1 updated… I think my problem is that it is not updating and that the elseif that checks to see if user_basic1 = 'Completed' doesn't work. I am not sure though there could be more.

<center> .: Basic 1 :. <center>
<br>
<hr>
<?php
$pwd = basic1done;
if (!isset($_POST['user']))
{
?>
.: <b> LOGIN <b> :.
<br>
<br>
<form action="viewpage.php?page_id=22" METHOD="post" name="login">
Password
<br/>
<input class="textbox" type="password" style="width: 100px;" name="pass"/>
<br/>
<input type='submit' value='<login>'>
</form>
<!------ The first challenges are easy, your password is: basic1done ------>
<br>
<br>
<?php
mysql_select_db('unrealcomps_game');

 if ($_POST['pass'] == $pwd and $sql = 'SELECT user_basic1 = \'Uncompleted\' FROM fusion_users WHERE user_id LIMIT 0, 30 ')
{ 
print "<center><font color='white'><br><br>Congrats 5 points will be added!<br /><br /><font /><center />";
$sql = 'UPDATE fusion_users SET user_basic1 = \'Completed\' WHERE 1';
}
 elseif ($_POST['pass'] == $pwd and $sql = 'SELECT user_basic1 = \'Completed\' FROM fusion_users WHERE user_id LIMIT 0, 30 ') 
{
print "<center><font color='white'><br><br>Congrats 5 points will be added!<br /><br /><font /><center />";
}
 elseif ($_POST['pass'] == $pwd)
{ 
print "<center><font color='white'><br><br>Your password was incorrect!<br /><br /><font /><center />";
}
}
print "<center><font color='white'><br><br><br><br>If your lost <i>go here<i /><br /><br /><br /><br /><font /><center />";
?>

P.S. This is not the right catagory so if an admin could more it to general I would be grateful


ghost's Avatar
0 0

I am still googling just to clear that up.


ghost's Avatar
0 0

Okay I found a compiler… I still need a decompiler… (java)


ghost's Avatar
0 0

dont keep making posts, just edit the original one.


ghost's Avatar
0 0

Okay, from now on I will just edit this one :)


ghost's Avatar
0 0

Try DJ Java Decompiler, it decompiles your classes into humanized readable java files unless it's obfuscated and javac.exe, etc. can be downloaded, of course, from www.java.sun.com. Better try looking for its J2SE download sections to find your wanted stuffs. And, mostly java progs usually use MD5, DES algo by default… better check its Crypto package…

Cheers!


ghost's Avatar
0 0

what are you actually googling to not be able to find something?


regret's Avatar
Attack-Vector Perl
0 0

I'm not sure which OS you're looking to get a compiler/IDE for, but…

Windows: JBuilder and IDEA

Linux/Unix: JBuilder, Netbeans, Eclipse, Forte, Vide, and the GCJ stand-alone complier.


ghost's Avatar
0 0

Alright, I got a .class java decompiler 'jad' but know I need one that will decompile .jar Thanks for in info!

P.S. I am googleing .jar decompiler


ghost's Avatar
0 0

masta_hacks, you made 50 threads these 2 days.

I am really tired of your shit.


ghost's Avatar
0 0

do you even know wat a .jar file is? maybe you should wiki that first


ghost's Avatar
0 0

W / E I already decrypted it no thanks to anyone other than lum0s. If you don't like my posts then don't read them. I already said I was gonna edit this one.


ghost's Avatar
0 0

masta_hacks wrote: W / E I already decrypted it no thanks to anyone other than lum0s. If you don't like my posts then don't read them. I already said I was gonna edit this one.

STFU, don't waste our time.

50 fucking threads that can be done in one google search.

Fuck off, bitch.

(Sorry for uncensored naughty words. I had to use them.)


ghost's Avatar
0 0

the only good thing your threads are for is flaming and inceasing post count


ghost's Avatar
0 0

Will you make an article how to find a java compiler now?


ghost's Avatar
0 0

I just updated my post, thanks for reading it :)


ghost's Avatar
0 0

sorry but that php code is awful. it just wont work. there are way too many bugs and syntax errors in it with both the php and sql to fit in one post so im just going to advise you to read the manual on php.net.


ghost's Avatar
0 0

Could you tell me one of them?


ghost's Avatar
0 0

the second line of php you check a variable which doesnt exist, namely $sql. if youre trying to query the database you need to first: $query=mysql_query("SELECT * FROM tablename WHERE username=[persons username]"); $result=mysql_fetch_assoc($query); if($result['fieldname']=="somevalue") { carry on code here }


ghost's Avatar
0 0

Oh okay thank you :)


ghost's Avatar
0 0

but seriously before making an interactive website at least learn php properly or youll get hacked the hell out of.


ghost's Avatar
0 0

I know, but I must learn some how. And I like hands-on beater.

Okay this is what I have at the moment:

<center> .: Basic 1 :. <center>
<br>
<hr>
<?php
$pwd = basic1done;
if (!isset($_POST['user']))
{
?>
.: <b> LOGIN <b> :.
<br>
<br>
<form action="viewpage.php?page_id=22" METHOD="post" name="login">
Password
<br/>
<input class="textbox" type="password" style="width: 100px;" name="pass"/>
<br/>
<input type='submit' value='<login>' name="submit">
</form>
<!------ The first challenges are easy, your password is: basic1done ------>
<br>
<br>
<?php
mysql_select_db('unrealcomps_hak');

 if ($_POST['pass'] == $pwd and $sql = 'SELECT user_basic1 = \'Uncompleted\' FROM unrealcomps_users WHERE user_id LIMIT 0, 30 ')
{ 
print "<center><font color='white'><br><br>Congrats 5 points will be added!<br /><br /><font /><center />";
dbquery("UPDATE unrealcomps_users SET user_basic1 = 'Completed' WHERE user_id=('".$userdata['user_id']."')");
}
 elseif ($_POST['pass'] == $pwd and $sql = 'SELECT user_basic1 = \'Completed\' FROM unrealcomps_users WHERE user_id LIMIT 0, 30 ') 
{
print "<center><font color='white'><br><br>Sorry you already beat this challenge!<br /><br /><font /><center />";
}
 elseif ($_POST['submit'] and $_POST['pass'] <> $pwd)
{ 
print "<center><font color='white'><br><br>Your password was incorrect!<br /><br /><font /><center />";
}
}
print "<center><font color='white'><br><br><br><br>If your lost <i>go here<i /><br /><br /><br /><br /><font /><center />";
?>

For it to be workable all I need it to do is check to see if user_basic1='Completed' or not, then it will work and I can fix it has people begin to hack it ;)


ghost's Avatar
0 0

Thanks ;)


ghost's Avatar
0 0

jesus christ, how about learning basic HTML first too? close your tags!


spyware's Avatar
Banned
0 0

lesserlightsofheaven wrote: jesus christ, how about learning basic HTML first too? close your tags!

I second that.


ghost's Avatar
0 0

hehe, this guy is brillient


ghost's Avatar
0 0

i didnt notice that…. masta_hacks you have some serious learning to do, and just stop making a site right now unless you want postings of goatse all over your site O.o

www.w3schools.com/html