Commit 91d8b714 authored by Dominik Rosiek's avatar Dominik Rosiek

prod https domain + some re tasks

parent b25409d3
File added
File added
File added
#include <stdio.h>
int main(){
int haslo;
char flaga[] = "KYN2016_JesteInzyniere";
printf("Podaj hasło\r\n");
scanf("%i", &haslo);
if(haslo == 887449753){
printf("Flaga to %s \r\n", flaga);
}
else{
printf("Haslo nieprawidlowe\r\n");
}
return 0;
}
#include <stdio.h>
int main(){
int haslo;
//MiEstasIngeniero
int signs[24] = {
0x4b, //K
0x59, //Y
0x4e, //N
0x32, //2_
0x30, //0
0x31, //1
0x36, //6
0x5f, //_
0x4d, //M
0x69, //i
0x45, //E
0x73, //s
0x74, //t
0x61, //a
0x73, //s
0x49, //I
0x6e, //n
0x67, //g
0x65, //e
0x6e, //n
0x69, //i
0x65, //e
0x72, //r
0x6f, //o
};
printf("Podaj hasło\r\n");
scanf("%i", &haslo);
if(haslo - 73 == 12974832135345){
int i;
printf("Flaga to: ");
for(i=0; i<24; i++){
printf("%c", signs[i]);
}
printf("\r\n");
}
else{
printf("Haslo nieprawidlowe\r\n");
}
return 0;
}
#include <stdio.h>
int main(){
int haslo;
//MiEstasIngeniero
int signs[23] = {
0x1b, //K
0x29, //Y
0x1e, //N
0x02, //2
0x00, //0
0x01, //1
0x06, //6
0x2f, //_
0x13, //C
0x3f, //o
0x36, //f
0x31, //a
0x3e, //n
0x39, //i
0x35, //e
0x27, //W
0x43, //s
0x44, //t
0x35, //e
0x33, //c
0x4a, //z
0x3e, //n
0x35, //e
};
printf("Podaj hasło\r\n");
scanf("%i", &haslo);
if(haslo + 5 > 16857168782345 && haslo +6 < 16857168782345){
int i;
printf("Flaga to: ");
for(i=0; i<23; i++){
printf("%c", 0x30 + signs[i]);
}
printf("\r\n");
}
else{
printf("Haslo nieprawidlowe\r\n");
}
return 0;
}
......@@ -9,9 +9,9 @@ dbPort: 27017
dbName: db
startupConfiguration:
domainName: "52.28.244.24"
port: 8080
schema: "http"
domainName: "https://ctf.krakyournet.pl"
port: 443
schema: "https"
digestMethod: "MD5"
......@@ -183,4 +183,4 @@ webTasks:
points: 2
- value: "KYN2016_LaoreetAliquet"
description: "SQLInjection"
points: 3
\ No newline at end of file
points: 3
......@@ -40,7 +40,7 @@
app.factory('AppSettings', ['$http', function($http) {
// fallback into defaults, if everything fails, world collapses, hell freezes and /startup will not resolve
var domainName = '52.25.28.64', port = "http", schema = 8080;
var domainName = 'ctf.krakyournet.pl', port = "https", schema = 443;
return {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment