Created
August 25, 2012 13:32
-
-
Save sugar700/3465714 to your computer and use it in GitHub Desktop.
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
| glitchmr@strawberry ~/g/level08-code> ./password_db_launcher 123456789012 127.0.0.1:3000 | |
| Split length 12 password into 4 chunks of size about 3: ['123', '456', '789', '012'] | |
| Checking whether 127.0.0.1:5380 is reachable | |
| Checking whether 127.0.0.1:5381 is reachable | |
| Checking whether 127.0.0.1:5382 is reachable | |
| Checking whether 127.0.0.1:5383 is reachable | |
| Launched ['./chunk_server', '127.0.0.1:5380', '123'] (pid 22259) | |
| Launched ['./chunk_server', '127.0.0.1:5381', '456'] (pid 22260) | |
| Launched ['./chunk_server', '127.0.0.1:5382', '789'] (pid 22261) | |
| Launched ['./chunk_server', '127.0.0.1:5383', '012'] (pid 22262) | |
| Checking whether 127.0.0.1:5380 is reachable | |
| Checking whether 127.0.0.1:5381 is reachable | |
| Checking whether 127.0.0.1:5382 is reachable | |
| Checking whether 127.0.0.1:5383 is reachable | |
| Condition not yet true, waiting 0.35 seconds (try 1/10) | |
| Checking whether 127.0.0.1:5383 is reachable | |
| Launched ['./primary_server', '-l', '/tmp/primary.lock', '-c', '127.0.0.1:5380', '-c', '127.0.0.1:5381', '-c', '127.0.0.1:5382', '-c', '127.0.0.1:5383', '127.0.0.1:3000'] (pid 22263) | |
| [127.0.0.1:38185:1] Received payload: '{"password": "123456789012", "webhooks": []}' | |
| Acquiring lock | |
| [127.0.0.1:38185:1] Split length 12 password into 4 chunks of size about 3: [u'123', u'456', u'789', u'012'] | |
| [127.0.0.1:38185:1] Making request to chunk server ('127.0.0.1', 5380) (remaining chunk servers: [('127.0.0.1', 5381), ('127.0.0.1', 5382), ('127.0.0.1', 5383)]) | |
| [127.0.0.1:36083:1] Received payload: '{"password_chunk": "123"}' | |
| [127.0.0.1:36083:1] Request already finished! | |
| [127.0.0.1:36083:1] Responding with: '{"success": true}\n' | |
| [127.0.0.1:38185:1] Making request to chunk server ('127.0.0.1', 5381) (remaining chunk servers: [('127.0.0.1', 5382), ('127.0.0.1', 5383)]) | |
| [127.0.0.1:55741:1] Received payload: '{"password_chunk": "456"}' | |
| [127.0.0.1:55741:1] Request already finished! | |
| [127.0.0.1:55741:1] Responding with: '{"success": true}\n' | |
| [127.0.0.1:38185:1] Making request to chunk server ('127.0.0.1', 5382) (remaining chunk servers: [('127.0.0.1', 5383)]) | |
| [127.0.0.1:56019:1] Received payload: '{"password_chunk": "789"}' | |
| [127.0.0.1:56019:1] Request already finished! | |
| [127.0.0.1:56019:1] Responding with: '{"success": true}\n' | |
| [127.0.0.1:38185:1] Making request to chunk server ('127.0.0.1', 5383) (remaining chunk servers: []) | |
| [127.0.0.1:60346:1] Received payload: '{"password_chunk": "012"}' | |
| [127.0.0.1:60346:1] Request already finished! | |
| [127.0.0.1:60346:1] Responding with: '{"success": true}\n' | |
| [127.0.0.1:38185:1] Request already finished! | |
| [127.0.0.1:38185:1] Responding with: '{"success": true}\n' | |
| Releasing lock | |
| [127.0.0.1:38190:2] Received payload: '{"password": "123456789011", "webhooks": []}' | |
| Acquiring lock | |
| [127.0.0.1:38190:2] Split length 12 password into 4 chunks of size about 3: [u'123', u'456', u'789', u'011'] | |
| [127.0.0.1:38190:2] Making request to chunk server ('127.0.0.1', 5380) (remaining chunk servers: [('127.0.0.1', 5381), ('127.0.0.1', 5382), ('127.0.0.1', 5383)]) | |
| [127.0.0.1:36088:2] Received payload: '{"password_chunk": "123"}' | |
| [127.0.0.1:36088:2] Request already finished! | |
| [127.0.0.1:36088:2] Responding with: '{"success": true}\n' | |
| [127.0.0.1:38190:2] Making request to chunk server ('127.0.0.1', 5381) (remaining chunk servers: [('127.0.0.1', 5382), ('127.0.0.1', 5383)]) | |
| [127.0.0.1:55746:2] Received payload: '{"password_chunk": "456"}' | |
| [127.0.0.1:55746:2] Request already finished! | |
| [127.0.0.1:55746:2] Responding with: '{"success": true}\n' | |
| [127.0.0.1:38190:2] Making request to chunk server ('127.0.0.1', 5382) (remaining chunk servers: [('127.0.0.1', 5383)]) | |
| [127.0.0.1:56024:2] Received payload: '{"password_chunk": "789"}' | |
| [127.0.0.1:56024:2] Request already finished! | |
| [127.0.0.1:56024:2] Responding with: '{"success": true}\n' | |
| [127.0.0.1:38190:2] Making request to chunk server ('127.0.0.1', 5383) (remaining chunk servers: []) | |
| [127.0.0.1:60351:2] Received payload: '{"password_chunk": "011"}' | |
| [127.0.0.1:60351:2] Request already finished! | |
| [127.0.0.1:60351:2] Responding with: '{"success": false}\n' | |
| [127.0.0.1:38190:2] Going to wait 0.0 seconds before responding | |
| [127.0.0.1:38190:2] Request already finished! | |
| [127.0.0.1:38190:2] Responding with: '{"success": false}\n' | |
| Releasing lock | |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
glitchmr@strawberry ~/g/level08-code> ./password_db_launcher 123456789012 localhost:1234
Split length 12 password into 4 chunks of size about 3: ['123', '456', '789', '012']
Checking whether 127.0.0.1:3816 is reachable
Checking whether 127.0.0.1:3817 is reachable
Checking whether 127.0.0.1:3818 is reachable
Checking whether 127.0.0.1:3819 is reachable
Launched ['./chunk_server', '127.0.0.1:3816', '123'](pid 5771)
Launched ['./chunk_server', '127.0.0.1:3817', '456'](pid 5772)
Launched ['./chunk_server', '127.0.0.1:3818', '789'](pid 5773)
Launched ['./chunk_server', '127.0.0.1:3819', '012'](pid 5774)
Checking whether 127.0.0.1:3816 is reachable
Checking whether 127.0.0.1:3817 is reachable
Checking whether 127.0.0.1:3818 is reachable
Checking whether 127.0.0.1:3819 is reachable
Launched ['./primary_server', '-l', '/tmp/primary.lock', '-c', '127.0.0.1:3816', '-c', '127.0.0.1:3817', '-c', '127.0.0.1:3818', '-c', '127.0.0.1:3819', 'localhost:1234'](pid 5775)
[127.0.0.1:37709:1] Received payload: '{"password": "999999999999", "webhooks": ["localhost:7777"]}'
Acquiring lock
[127.0.0.1:37709:1] Split length 12 password into 4 chunks of size about 3: [u'999', u'999', u'999', u'999']
[127.0.0.1:37709:1] Making request to chunk server ('127.0.0.1', 3816) (remaining chunk servers: [('127.0.0.1', 3817), ('127.0.0.1', 3818), ('127.0.0.1', 3819)])
[127.0.0.1:52914:1] Received payload: '{"password_chunk": "999"}'
[127.0.0.1:52914:1] Request already finished!
[127.0.0.1:52914:1] Responding with: '{"success": false}\n'
[127.0.0.1:37709:1] Going to wait 0.0113554000854 seconds before responding
[127.0.0.1:37709:1] Request already finished!
[127.0.0.1:37709:1] Responding with: '{"success": false}\n'
[127.0.0.1:37709:1] Sending webhook to (u'localhost', 7777): {'success': False}
Releasing lock
[127.0.0.1:37709:1] Error while connecting to webhook server (u'localhost', 7777): Failure instance: Traceback (failure with no frames): <class 'twisted.internet.error.ConnectionDone'>: Connection was closed cleanly.
[127.0.0.1:37712:2] Received payload: '{"password": "123999999999", "webhooks": ["localhost:7777"]}'
Acquiring lock
[127.0.0.1:37712:2] Split length 12 password into 4 chunks of size about 3: [u'123', u'999', u'999', u'999']
[127.0.0.1:37712:2] Making request to chunk server ('127.0.0.1', 3816) (remaining chunk servers: [('127.0.0.1', 3817), ('127.0.0.1', 3818), ('127.0.0.1', 3819)])
[127.0.0.1:52917:2] Received payload: '{"password_chunk": "123"}'
[127.0.0.1:52917:2] Request already finished!
[127.0.0.1:52917:2] Responding with: '{"success": true}\n'
[127.0.0.1:37712:2] Making request to chunk server ('127.0.0.1', 3817) (remaining chunk servers: [('127.0.0.1', 3818), ('127.0.0.1', 3819)])
[127.0.0.1:48209:1] Received payload: '{"password_chunk": "999"}'
[127.0.0.1:48209:1] Request already finished!
[127.0.0.1:48209:1] Responding with: '{"success": false}\n'
[127.0.0.1:37712:2] Going to wait 0.0042290687561 seconds before responding
[127.0.0.1:37712:2] Request already finished!
[127.0.0.1:37712:2] Responding with: '{"success": false}\n'
[127.0.0.1:37712:2] Sending webhook to (u'localhost', 7777): {'success': False}
Releasing lock
[127.0.0.1:37712:2] Error while connecting to webhook server (u'localhost', 7777): Failure instance: Traceback (failure with no frames): <class 'twisted.internet.error.ConnectionDone'>: Connection was closed cleanly.