Skip to content

Instantly share code, notes, and snippets.

View glpnk's full-sized avatar
❤️‍🔥

FuzzyGlitch glpnk

❤️‍🔥
View GitHub Profile
@Bo0oM
Bo0oM / nmap.sh
Last active October 3, 2023 19:40
Three steps for nmap
echo -n "Target list (google.com, 192.168.1.1/24): "
read IP
echo "Treat all hosts as online -- skip host discovery (Y/N)?"
read answer
PN=""
if [ "$answer" != "${answer#[Yy]}" ] ; then
PN="-Pn";
fi
@ianmackinnon
ianmackinnon / match.c
Created August 8, 2012 12:01
C Regex multiple matches and groups example
# gcc -Wall -o match match.c && ./match
#
#include <stdio.h>
#include <string.h>
#include <regex.h>
@AndrewBarfield
AndrewBarfield / gist:2557331
Created April 30, 2012 10:49
C#: Windows Forms: Using a BackgroundWorker with a progress bar
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Threading;