Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
$ php time_test.php | |
11/06/16 01:56 | |
$ http http://kentucky.pwn.republican/inc.php\?p\=countdown | grep closes | |
<div style="text-align: center">0 days, 5 hours, and 3 minutes until registration closes</div></html> | |
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
$ cd ctf | |
pyenv-virtualenv: deactivate | |
pyenv-virtualenv: activate ctf | |
$ python --version | |
Python 2.7.11 | |
$ nvim | |
YouCompleteMe unavailable: requires Vim compiled with Python (2.6+ or 3.3+) support |
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
-----BEGIN PGP SIGNED MESSAGE----- | |
Hash: SHA512 | |
#!/bin/sh | |
<<\EOF | |
<!-- | |
Hey, you found the source code! | |
That is a sign you hopefully know better than to blindly run unknown commands | |
from the internet and/or are a curious person. We like you already. |
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
~ | |
$ cd .dotfiles | |
~/.dotfiles | |
$ ls | |
vim-f0rki vim-stefan | |
~/.dotfiles | |
$ mkdir foo |
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
<?php | |
/** | |
* Generate a random string suitable for a password | |
* | |
* @param int $minLength Minimum length of password to generate | |
* @return string | |
*/ | |
public static function generateRandomPasswordString( $minLength = 10 ) { | |
// Decide the final password length based on our min password length, | |
// stopping at a minimum of 10 chars. |
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
<?php | |
/* | |
GNU GENERAL PUBLIC LICENSE | |
Version 3, 29 June 2007 | |
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/> | |
Everyone is permitted to copy and distribute verbatim copies | |
of this license document, but changing it is not allowed. | |
Preamble |
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
<?php | |
$options = ['salt' => "m7z6odpn/jenmx0ablkhge"]; | |
// PHP's bcrypt implementation ignores input after binary-zero. So ... | |
echo password_hash("a\0", PASSWORD_DEFAULT, $options) . "\n"; | |
echo password_hash("a\0bcd", PASSWORD_DEFAULT, $options) . "\n"; | |
echo password_hash("a\0bcdasdasdads", PASSWORD_DEFAULT, $options) . "\n"; | |
echo password_hash("a\0aaa", PASSWORD_DEFAULT, $options) . "\n"; |
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
##+%%+%+++%+++%+++%+++@*+%+++@*+#%+%#+%+++%+++%+++%+++%+++@**+%%+%+++%+++@*+%#+##+#%+%+++%+++%+++%+++@**+%+++%+++%+++%+++%+++%+++%+++%+++%+++%+++%+++%+++%+++%+++@**+##+%%+%+++%+++%+++%+++%+++%+++%+++%+++%+++%+++%+++%+++%+++%+++%+++@* | |
##+%%+%+++%+++%+++%+++@*+%+++@*+#%+%#+%+++%+++%+++%+++%+++@**+%%+%+++%+++@*+%#+##+#%+%+++%+++%+++%+++@**+%+++%+++%+++%+++%+++%+++%+++%+++%+++%+++%+++%+++%+++%+++@**+##+%%+%+++%+++%+++%+++%+++%+++%+++%+++%+++%+++%+++%+++%+++%+++%+++@* | |
##+%% | |
##+%%+%+++%+++%+++%+++@*+%+++@*+#%+%#+%+++%+++%+++%+++%+++@**+%%+%+++%+++@*+%#+##+#%+%+++%+++%+++%+++@**+%+++%+++%+++%+++%+++%+++%+++%+++%+++%+++%+++%+++%+++%+++@**+##+%%+%+++%+++%+++%+++%+++%+++%+++%+++%+++%+++%+++%+++%+++%+++%+++@* | |
##+%%+%+++%+++%+++%+++%+++%+++%+++%+++%+++%+++%+++%+++%+++%+++%+++%+++%+++%+++%+++%+++@*+%#+%+++@**+%+++%+++%+++%+++%+++%+++%+++%+++%+++%+++%+++%+++%+++%+++%+++@**+%#+%+++%+++%+++%+++%+++@*** | |
##+%% | |
##+%% | |
##+%%+%+++%+++%+++%+++@*+%+++@*+#%+%#+%+++%+++%+++%+++%+++@**+%%+%+++%+++@*+%#+##+#%+%+++%+++%+++%+++@**+%+++%++ |
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 | |
import angr | |
import claripy | |
proj = angr.Project('./unbreakable-enterprise-product-activation', | |
load_options={"auto_load_libs": False}) | |
# TODO: create useful | |
length = 67 |