Skip to content

Instantly share code, notes, and snippets.

View beppe9000's full-sized avatar


View GitHub Profile
beppe9000 / choco.bat
Created February 12, 2022 15:31 — forked from avenet/choco.bat
Installs Chocolatey and my preferred Windows programs
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString(''))" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin
choco install Atom
choco install notepadplusplus.install
choco install 7zip
choco install flashplayerplugin
choco install vlc
choco install nodejs
choco install vcredist2010
choco install PowerShell
@echo off
echo %%~1 = %~1
echo %%~f1 = %~f1
echo %%~d1 = %~d1
echo %%~p1 = %~p1
echo %%~n1 = %~n1
echo %%~x1 = %~x1
echo %%~s1 = %~s1
echo %%~a1 = %~a1
beppe9000 /
Created January 31, 2022 10:09 — forked from 0xjac/
Create a private fork of a public repository

The repository for the assignment is public and Github does not allow the creation of private forks for public repositories.

The correct way of creating a private frok by duplicating the repo is documented here.

For this assignment the commands are:

  1. Create a bare clone of the repository. (This is temporary and will be removed so just do it wherever.)

git clone --bare

beppe9000 /
Last active January 22, 2022 15:42 — forked from 0x9900/
Extract the IP addresses from SPF records.
#!/usr/bin/env python
# Purpose: Print the list of ip addresses from SPF records
# Author: beppe9000
import dns
from dns import resolver
from collections import defaultdict
import re
import sys
beppe9000 / DllInjector.cs
Created April 28, 2021 11:29 — forked from ultratrunks/DllInjector.cs
Clean class in C# used for DLL injection
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.InteropServices;
namespace DllInjector
public static class DllInjector
beppe9000 /
Last active November 20, 2020 21:31 — forked from dusta/
Ghetto Deployment

Deploy your site with git on cPanel

The most important: You must have shell access!

This gist assumes:

  • you have a local git repo
  • with an online remote repository (github / bitbucket etc)
  • and a cloud server (Rackspace cloud / Amazon EC2 etc)
  • your (PHP) scripts are served from /var/www/html/
beppe9000 / LICENSE.txt
Created August 19, 2020 12:25 — forked from azproduction/LICENSE.txt
A turing machine in 79! bytes of javascript
Version 2, December 2004
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
beppe9000 / JunctionPoint.cs
Last active April 10, 2020 00:49 — forked from LGM-AdrianHum/JunctionPoint.cs
Create, Delete and Examine Junction Points in C#
// File: RollThroughLibrary/CreateMaps/JunctionPoint.cs
// User: Adrian Hum/
// Created: 2017-11-19 2:46 PM
// Modified: 2017-11-19 6:10 PM
using System;
using System.Diagnostics.CodeAnalysis;
using System.IO;
using System.Runtime.InteropServices;
beppe9000 / # Peachpie.NET Example
Last active March 20, 2020 23:47
Minimum Complete usage of compiling a PHP script with Peachpie.NET
Run the `START.BAT`file to compile the php script and run the resulting exe.
This is the final example from
beppe9000 / console.js
Last active March 17, 2020 13:29
Selects "Show Me" for all search fields of search. Copy/paste the code in the devtools js console to use.
(function() { //@see
function l(u, i) {
var d = document;
if (!d.getElementById(i)) {
var s = d.createElement('script');
s.src = u; = i;