Skip to content

Instantly share code, notes, and snippets.

View cooperq's full-sized avatar

Cooper Quintin cooperq

View GitHub Profile
$ python password_db_launcher 123456789012 localhost:8000
Split length 12 password into 4 chunks of size about 3: ['123', '456', '789', '012']
Checking whether 127.0.0.1:14437 is reachable
Checking whether 127.0.0.1:14438 is reachable
Checking whether 127.0.0.1:14439 is reachable
Checking whether 127.0.0.1:14440 is reachable
Traceback (most recent call last):
File "password_db_launcher", line 147, in <module>
sys.exit(main())
File "password_db_launcher", line 125, in main
<html>
<head>
<style>
body{
background: #000000;
color: #00ff00;
font-family: courier
}
input{
border: none;
$ python client.py https://level07-2.stripe-ctf.com/user-hhltjtltlw/ 5 aJNMqG5M8325RY eggo 1 1
Traceback (most recent call last):
File "client.py", line 72, in <module>
print c.order(sys.argv[4], sys.argv[5:7])
File "client.py", line 22, in order
return self.api_call('/orders', params)
File "client.py", line 37, in api_call
data = json.loads(resp.text)
AttributeError: 'Response' object has no attribute 'text'
@cooperq
cooperq / gist:3042024
Created July 3, 2012 19:05
crash message from ethersheet
info - transport end (socket end)
debug - set close timeout for client 1556672142472291423
debug - cleared close timeout for client 1556672142472291423
debug - cleared heartbeat interval for client 1556672142472291423
node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
TypeError: Cannot read property 'sheet_id' of undefined
at Socket.<anonymous> (/home/ethersheet/EtherSheet/lib/server.js:95:32)
@cooperq
cooperq / sinatracrud.rb
Created May 3, 2011 19:28
crud in sinatra
#here is app.rb:
get '/admin' do
protected!
@posters = Poster.all
@category_1_posters = @posters.all :category => 1
@category_2_posters = @posters.all :category => 2
@category_3_posters = @posters.all :category => 3
haml :'admin/index'
end
tankgirl:spec cooperq$ rake spec
(in /Users/cooperq/code/ronin)
/Users/cooperq/code/ronin/lib/ronin/config.rb:21:in `require': no such file to load -- static_paths (LoadError)
from /Users/cooperq/code/ronin/lib/ronin/config.rb:21
from /Users/cooperq/code/ronin/lib/ronin/database/database.rb:23:in `require'
from /Users/cooperq/code/ronin/lib/ronin/database/database.rb:23
from /Users/cooperq/code/ronin/lib/ronin/model/lazy_upgrade.rb:21:in `require'
from /Users/cooperq/code/ronin/lib/ronin/model/lazy_upgrade.rb:21
from /Users/cooperq/code/ronin/lib/ronin/model/model.rb:21:in `require'
from /Users/cooperq/code/ronin/lib/ronin/model/model.rb:21