1.download repo of mxe
2.make needed targets
make MXE_TARGETS='x86_64-w64-mingw32.static i686-w64-mingw32.static' freeglut qt ...
- generate project
cmake . -DCMAKE_TOOLCHAIN_FILE=/cross/mxe/usr/i686-w64-mingw32.shared/share/cmake/mxe-conf.cmake
| sudo upgrade-from-grub-legacy - fix grub |
| http://seclist.us/beast-exploit-poc-of-beast-attack-against-ssltls.html | |
| https://github.com/kostyll/poodle-exploit | |
| https://github.com/kostyll/BEAST-exploit |
| http://habrahabr.ru/post/254737/ |
| import gmpy, time, random, math | |
| def genprime(bits): | |
| p=1 | |
| while(gmpy.is_prime(p)==0): | |
| p = random.randrange(math.pow(2,bits-1),math.pow(2,bits)) | |
| return p | |
| BITS=20 | |
| found=False |
| http://sdelay.tv/blogs/sergey-n/delaem-samodelnyi-3d-printer |
| apt-get: | |
| python-pip | |
| libc-dev-bin libc6-dev libexpat1-dev libpython-dev libpython2.7-dev python-dev python2.7-dev | |
| g++ | |
| libpcap-dev libpcap0.8-dev | |
| pip: | |
| netifaces | |
| netaddr | |
| pcapy | |
| scapy |
| """ | |
| A simple proxy server. Usage: | |
| http://hostname:port/p/(URL to be proxied, minus protocol) | |
| For example: | |
| http://localhost:8080/p/www.google.com | |
| """ |
| # Originally from http://sharebear.co.uk/blog/2009/09/17/very-simple-python-caching-proxy/ | |
| # | |
| # Usage: | |
| # A call to http://localhost:80000/example.com/foo.html will cache the file | |
| # at http://example.com/foo.html on disc and not redownload it again. | |
| # To clear the cache simply do a `rm *.cached`. To stop the server simply | |
| # send SIGINT (Ctrl-C). It does not handle any headers or post data. | |
| import BaseHTTPServer | |
| import hashlib |
1.download repo of mxe
2.make needed targets
make MXE_TARGETS='x86_64-w64-mingw32.static i686-w64-mingw32.static' freeglut qt ...
cmake . -DCMAKE_TOOLCHAIN_FILE=/cross/mxe/usr/i686-w64-mingw32.shared/share/cmake/mxe-conf.cmake
| import signal | |
| import sys | |
| def sigterm_handler(_signo, _stack_frame): | |
| # Raises SystemExit(0): | |
| sys.exit(0) | |
| signal.signal(signal.SIGTERM, sigterm_handler) | |
| signal.signal(signal.SIGINT, sigterm_handler) |