This file contains hidden or 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
#!/usr/bin/env python2 | |
# -*- coding: utf-8 -*- | |
import sys | |
argc = len(sys.argv) | |
argv = sys.argv | |
def ShowUsage(): |
This file contains hidden or 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
Length of strings: 1: 0 | |
Length of strings: 2: 0 | |
Length of strings: 3: 0 | |
Length of strings: 4: 0 | |
Length of strings: 5: 1: 29C3_ | |
Length of strings: 6: 0 | |
Length of strings: 7: 0 | |
Length of strings: 8: 0 | |
Length of strings: 9: 1: Key: None | |
Length of strings: 10: 2 |
This file contains hidden or 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
#!/usr/bin/env python2 | |
# -*- coding: utf-8 -*- | |
import urllib | |
url = 'http://94.45.252.233/' | |
for i in range(100): # from 0 to 100. | |
params = urllib.urlencode({'input': '/(^.{'+str(i+1)+'}$)/'}) # search the length of string. |
This file contains hidden or 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
#!/usr/bin/env python2 | |
# -*- coding: utf-8 -*- | |
import sys | |
# RSA Decipher for SECCON CTF 4(Yokohama) | |
# Author: Matsukuma Hiroki a.k.a. hhc0null <[email protected]> | |
# Usage: ./RSA_Decipher < [Crypted Text] |
This file contains hidden or 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
#!/usr/bin/env python2 | |
# -*- coding: utf-8 -*- | |
usage = """revstr.py 0.0.1, a reversing tool for common files. | |
Basic Usage: | |
revstr.py < [filename] | |
cat [filename]|./revstr.py |
This file contains hidden or 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
// HELP ME!!!!! WHAT'S WRONG!!!! | |
#include <iostream> | |
const unsigned int inf = 1 << 26; | |
const int MAX_OF_INFOMATIONS = 300; | |
const int MAX_OF_STATIONS = 100; | |
const int MAX_OF_ENQUIRIES = 200; | |
int dijk(int m, int n, int s, int g[2][MAX_OF_STATIONS][MAX_OF_STATIONS], int ary[2][MAX_OF_STATIONS][MAX_OF_STATIONS]) { |
This file contains hidden or 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
// AOJ0008 | |
#include <iostream> | |
#include <iomanip> | |
#include <cstdio> | |
#include <stack> | |
int main() { | |
int i, j, k, l, n, cnt; |
This file contains hidden or 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 <cstdio> | |
int main() { | |
int a[4] = {0}; | |
int sum = 0, max = 0; | |
for(int i = 0; i < 4; i++) { | |
scanf("%d", &a[i]); | |
max = (max < a[i])? a[i]: max; | |
sum += a[i]; |
This file contains hidden or 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 <iomanip> | |
#include <cstdio> | |
#include <stack> | |
using namespace std; | |
int main() { | |
int week, tmp, rep = 100000; |
This file contains hidden or 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
set nocompatible | |
filetype indent plugin on | |
syntax on | |
set autoindent | |
set nostartofline | |
set backspace=indent,eol,start |