Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Team #3 - Crypto Challenge Solution #6

Open
wants to merge 21 commits into
base: crypto-challenge
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Challenge2/challenge2.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ int main()
{
char ch[20];
printf("What is the password to access this super secret system?\n");
scanf("%s", ch);
//https://stackoverflow.com/questions/28297306/how-to-limit-input-length-with-scanf/28297894
scanf("%20s", ch);
if(strcmp("complex_password", ch) == 0)
{
Success();
Expand Down
Binary file added Challenge3/Team #3 - crypto_challenge.docx
Binary file not shown.
Binary file added Team #3 - Buffer Overflow Challenge.docx
Binary file not shown.
18 changes: 0 additions & 18 deletions crypto_challenge

This file was deleted.

Binary file added lecture8/CrackMe/CrackMeIfYouCan
Binary file not shown.
1 change: 1 addition & 0 deletions lecture8/CrackMe/sol.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
KZeMZaSr
66 changes: 66 additions & 0 deletions lecture8/reverseJS/javad.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@


<DOCTYPE! html>
<html>
<head>
<meta charset="UTF-8">
<title>Login</title>
<script src="js/md5.min.js"></script>
<style>
#pass {
background-color: #00ccff;
color: #000066;
border: 1px #0066ff solid;
border-radius: 10%;
font-size: 30px;
}

#sub {
background-color: #7b9efe;
color: #3366ff;
border: 1px #0066ff solid;
border-radius: 10%;
font-size: 30px;
}

h1 {
color: purple;
font-family: monospace
}

div {
border: 3px #0066ff solid;
width: 55%;
background-color: lightblue;
}

body {
background-image: url(tile.jpg);
}

#valid {
color: blue;
font-family: monospace;
font-size: 20px;
}
</style>
</head>
<body>
<center>
<br><br><br><br><br><br><br><br><br>
<div>
<h1>Communication Analysis system, Enter password</h1>
<br>
<form name="password" method="post" onsubmit="return validate()">
<input type="password" id="pass" name="passinp" placeholder="Password" required><br><br>
<input type="submit" id="sub" value="Login"><br>
<p id="valid"></p>
</form>
</div>
</center>
<script>
var _0xeb5f=["\x76\x61\x6C\x75\x65","\x70\x61\x73\x73\x69\x6E\x70","\x70\x61\x73\x73\x77\x6F\x72\x64","\x66\x6F\x72\x6D\x73","\x63\x6F\x6C\x6F\x72","\x73\x74\x79\x6C\x65","\x76\x61\x6C\x69\x64","\x67\x65\x74\x45\x6C\x65\x6D\x65\x6E\x74\x42\x79\x49\x64","\x67\x72\x65\x65\x6E","\x69\x6E\x6E\x65\x72\x48\x54\x4D\x4C","\x50\x53\x5f\x32\x30\x54\x48\x5f\x43\x54\x46\x7b","\x72\x65\x64","\x49\x6E\x63\x6F\x72\x72\x65\x63\x74\x21"];function validate(){var _0xb252x2=123211;var _0xb252x3=3422543454;var _0xb252x4=document[_0xeb5f[3]][_0xeb5f[2]][_0xeb5f[1]][_0xeb5f[0]];var _0xb252x5=md5(_0xb252x4);_0xb252x4+= 7655;_0xb252x4-= 128274654548;_0xb252x4*= 1828;_0xb252x2-= 3748;_0xb252x3+= 458403;if(_0xb252x4== 988102976119596){document[_0xeb5f[7]](_0xeb5f[6])[_0xeb5f[5]][_0xeb5f[4]]= _0xeb5f[8];document[_0xeb5f[7]](_0xeb5f[6])[_0xeb5f[9]]= _0xeb5f[10]+ _0xb252x5+"\x7d"}else {document[_0xeb5f[7]](_0xeb5f[6])[_0xeb5f[5]][_0xeb5f[4]]= _0xeb5f[11];document[_0xeb5f[7]](_0xeb5f[6])[_0xeb5f[9]]= _0xeb5f[12]};return false}

</script>
</body>
</html>
2 changes: 2 additions & 0 deletions lecture8/reverseJS/js/md5.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions lecture8/reverseJS/sol.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
66881238