Windows Service with Python 3.5 and pyinstaller
- Python 3.5.x
- Visual C++ Build Tools 2015
- PyInstaller 3.2
| #!/usr/bin/env python | |
| """ | |
| Very simple HTTP server in python. | |
| Usage:: | |
| ./dummy-web-server.py [<port>] | |
| Send a GET request:: | |
| curl http://localhost |
Windows Service with Python 3.5 and pyinstaller
Collecting popup/popunder scripts.
Obnoxious ones
http://www.nowvideo.li/video/81e35ec6727eehttps://thehiddenbay.xyz/Ordinary ones
http://www.watchmygf.me/Via http://null-byte.wonderhowto.com/how-to/reverse-shell-using-python-0163875/ with some style changes (to use classes instead of globals).
Requirements:
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>HTML5 GPS</title> | |
| <meta name="viewport" content="initial-scale=1.0, user-scalable=no"> | |
| <meta name="apple-mobile-web-app-capable" content="yes"> | |
| <meta name="apple-mobile-web-app-status-bar-style" content="black"> | |
| <link rel="stylesheet" href="style.css"> | |
| </head> |
| # -- coding: utf-8 -- | |
| from win32api import * | |
| from win32gui import * | |
| import win32con | |
| import sys, os | |
| import struct | |
| import time | |
| class WindowsBalloonTip: |
This guide offers the least time-consuming way of setting up Nginx for serving Git repositories over HTTP using Gitweb. The stuff here has been tested with Git 1.9.1 and Nginx 1.6.0 on Debian Wheezy. Probably also works for Ubuntu, etc.
Total time ~ 10 minutes.
Enable wheezy-backports by adding this line to /etc/apt/sources.list:
deb http://http.debian.net/debian wheezy-backports main
| # source: https://www.safaribooksonline.com/library/view/python-cookbook-2nd/0596007973/ch09s03.html | |
| import threading | |
| class TestThread(threading.Thread): | |
| def _ _init_ _(self, name='TestThread'): | |
| """ constructor, setting initial variables """ | |
| self._stopevent = threading.Event( ) | |
| self._sleepperiod = 1.0 | |
| threading.Thread._ _init_ _(self, name=name) | |
| def run(self): |