Skip to content

Instantly share code, notes, and snippets.

View cravip's full-sized avatar
💭
problem solving

Chandra cravip

💭
problem solving
View GitHub Profile
__author__ = 'cravip'
import unittest
import subprocess
import threading
class ServerUnitTest(unittest.TestCase):
def test_run_recv_file_data(self):
@cravip
cravip / Mainserver.py
Last active December 17, 2015 08:19
Simple server implementation of irc(type) chat application, client can connect through telnet
__author__ = 'cravip'
import socket
import select
import sys
class Mainserver:
def __init__(self, portno):
"""
@cravip
cravip / virtualenv
Created April 21, 2013 21:31
output of install setup.py
(virtualpy)snooze@snooze:~/work/glastopf$ python2.7 setup.py install
running install
running bdist_egg
running egg_info
writing requirements to Glastopf.egg-info/requires.txt
error: Glastopf.egg-info/requires.txt: Permission denied
@cravip
cravip / nosetest
Created April 20, 2013 20:36
mongo db errors
snooze@snooze:/opt/glastopf/glastopf/testing$ nosetests-2.7
.....................python generate.py > /tmp/tmpdnGrLC/data/apd_sandbox.php
.python generate.py > /tmp/tmpAa6KBY/data/apd_sandbox.php
...Sending request: http://localhost:8080/
Hash of the local 'response' file: 2beda901e97267f7d8d34ca12565e651
Return value: 2beda901e97267f7d8d34ca12565e651
matched a generated attack surface item.
.E......E............
======================================================================
ERROR: Objective: Testing overall Honeypot integration.
@cravip
cravip / dhcpcd
Created January 22, 2013 18:08
dhcpcd
dhcpcd[8385]: version 5.6.4 starting
dhcpcd[8385]: eth0: sending IPv6 Router Solicitation
dhcpcd[8385]: eth0: rebinding lease of 10.100.91.89
dhcpcd[8385]: wlan0: waiting for carrier
dhcpcd[8385]: eth0: acknowledged 10.100.91.89 from 10.100.56.21
dhcpcd[8385]: eth0: checking for 10.100.91.89
dhcpcd[8385]: eth0: Router Advertisement from fe80::783a:cf78:eef4:bf4a