This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import socket | |
#Get every part of key | |
host = '125.235.240.167' | |
port = 13337 | |
s = socket.socket() | |
s.connect((host,port)) | |
data = s.recv(1024) | |
print ord(data[1]),"=>",ord(data[1])+8 | |
plain = 'matesctf' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import string | |
import subprocess as sp | |
import os | |
def get_inscount(): | |
count = open('./inscount.out').read().strip() | |
count = int(count.split(' ')[1]) | |
return count | |
def mk_input(s): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import base64 | |
from Crypto.Util.number import * | |
from Crypto.PublicKey import RSA | |
def gcd(a,b): | |
while b != 0: | |
t = b | |
b = a % b | |
a = t |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* To change this license header, choose License Headers in Project Properties. | |
* To change this template file, choose Tools | Templates | |
* and open the template in the editor. | |
*/ | |
package UDP_Cau3; | |
import UDP_MulThread_guess.UDP_thread_server; | |
import static UDP_MulThread_guess.UDP_thread_server.check; | |
import static UDP_MulThread_guess.UDP_thread_server.receivePacket; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* To change this license header, choose License Headers in Project Properties. | |
* To change this template file, choose Tools | Templates | |
* and open the template in the editor. | |
*/ | |
package UDP_Cau3; | |
import UDP_MulThread_guess.UDP_thread_client; | |
import java.io.IOException; | |
import java.net.DatagramPacket; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<center> | |
<h1> Challenge by 9n4m0k</h1> | |
<form enctype="multipart/form-data" action ="#" method="POST"> | |
<h2> Choose an image to upload </h2> | |
<br> | |
<input name="upload" type="file"> | |
<br> | |
<input name="submit" type="submit" value="submit"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <fstream> | |
#include <cstring> | |
#include <linux/input.h> | |
using namespace std; | |
#include <string> | |
#include <iostream> | |
#include <stdio.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Challenge by K0m4ng</title> | |
</head> | |
<body> | |
<form action="#" method="POST" > | |
<center> | |
<h2>MD5 Checksum for everyone</h2> | |
<br> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define _GNU_SOURCE | |
#include <dlfcn.h> | |
#include <stdio.h> | |
#include <string.h> | |
#include <linux/input.h> | |
/* Function pointers to hold the value of the glibc functions */ | |
static ssize_t (*real_write)(int fd, const void *buf, size_t count) = NULL; | |
/* wrapping write function call */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <fstream> | |
#include <linux/input.h> | |
#include <string> | |
#include <cstring> | |
using namespace std; | |
std::string toChar( int keycode , int caplock ) | |
{ | |
switch(keycode) |
OlderNewer