Creation is an act of sheer will. Next time it will be flawless...(est. 2016)
 
Jurassic Mainframe NewsHomeCalendarFAQSearchMemberlistUsergroupsRegisterLog inJurassic-Pedia

Share | 
 

 Cha0tic C0de C0rner

View previous topic View next topic Go down 
AuthorMessage
Cha0ticArch0saur
Embryo
Embryo
avatar

Posts : 7
Points : 486
Reputation : 0
Join date : 2016-08-28

PostSubject: Cha0tic C0de C0rner   Wed Aug 31, 2016 5:09 pm

Hey, just looking for fellow code monkeys. Got a php script for scraping the net? Web design tricks with CSS & HTML? How about some JS? Post them here and get feedback from other members and possible help with any web dev projects within the scope of the JP online community.

ATTENTION: Please no JPOG or other game development, modding, etc. posted here. There is already a whole section devoted to JPOG. There is a game dev thread here. Also please post code within the
Code:
[code] [/code]

Thanks.

I had some old projects from JPL I need to dig up the files for.

Anyways.... below is a low level "password protect page" JavaScript snippet. You can see it in use here with slight modification Wink. It is easily "hacked". Can you figure out how?

Code:

<SCRIPT>
function passWord() {
var testV = 1;
var pass1 = prompt('Please Enter Your Password',' ');
while (testV < 3) {
if (!pass1)
history.go(-1);
if (pass1.toLowerCase() == "letmein") {
alert('You Got it Right!');
window.open('protectpage.html');
break;
}
testV+=1;
var pass1 =
prompt('Access Denied - Password Incorrect, Please Try Again.','Password');
}
if (pass1.toLowerCase()!="password" & testV ==3)
history.go(-1);
return " ";
}
</SCRIPT>
<CENTER>
<FORM>
<input type="button" value="Enter Protected Area" onClick="passWord()">
</FORM>
</CENTER>

Spoiler:
 
Back to top Go down
View user profile
Cha0ticArch0saur
Embryo
Embryo
avatar

Posts : 7
Points : 486
Reputation : 0
Join date : 2016-08-28

PostSubject: Re: Cha0tic C0de C0rner   Fri Sep 02, 2016 5:36 pm

Shocked  Ha! Did someone manage to delete my Tumblr from the last post? If so.... you gotta tell me how and we should chat about IT stuff bro!

_______________
Follow the whte_rbt.obj
Spoiler:
 
Back to top Go down
View user profile
 
Cha0tic C0de C0rner
View previous topic View next topic Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Jurassic Mainframe :: The Lounge :: Off-Topic Discussions-
Jump to: