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
import argparse | |
import os ,sys | |
import logging | |
from crontab import CronTab | |
""" | |
Task Scheduler | |
========== | |
This module manages periodic tasks using cron. | |
""" | |
class CronManager: |
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
<form method="post"> | |
{{ form.hidden_tag() }} | |
{{ form.example }} | |
<input type="submit"> | |
</form> |
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
""" | |
***** Auto-finder by dorks tool with Google API & Bing API ***** | |
@author: z0rtecx | |
@release date: dec-2014 | |
@version: 1.0.12122014 | |
@poc: good dork for find web pages whit SQLi vulnerability in ID parameter, e.g. "inurl:details.php?id=" | |
@description: This tool is for save time for you. It is gathering dorks of a txt file, and search potential web pages with SQLi vulnerability. ONLY FOR MySQL errors. | |
@features: |
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
# -*- coding: utf-8 -*- | |
import unicodedata | |
""" Normalise (normalize) unicode data in Python to remove umlauts, accents etc. """ | |
data = u'naïve café' | |
normal = unicodedata.normalize('NFKD', data).encode('ASCII', 'ignore') | |
print normal | |
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
#!/usr/bin/python | |
# Petrus Alexandre Pavoni Gomes | |
# [email protected] | |
# | |
# 25/09/2010 | |
# | |
# UFW-Notify v0.2: | |
# Show a notification popup (libnotify) when UFW Firewall blocks a connection. | |
# It reads last line from firwall log with "tail" command, parse it and show |
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
# This creates a docker container with lemp stack and creates | |
# --net = name of your host | |
# -v your webroot folder:docker container folder with z option | |
docker run -it -p "8080:80" -p "3306:3306" -e MYSQL_PASS="MySecretPassword" -v /home/user_home_folder/web:/app:z --name=webserver --net=hostname tutum/lamp |
OlderNewer