Skip to content

Instantly share code, notes, and snippets.

💎
FLOSSing

Alexandre ZANNI noraj

💎
FLOSSing
View GitHub Profile
View BetterSSH.py
import sys
import random, string
import os
import time
import crypt
import traceback
import subprocess
path = ''.join(random.choices(string.ascii_letters + string.digits, k=8))
session = {"user": "", "authenticated": 0}
View services_bin_path.txt
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\1394ohci
ImagePath REG_EXPAND_SZ \SystemRoot\System32\drivers\1394ohci.sys
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\3ware
ImagePath REG_EXPAND_SZ System32\drivers\3ware.sys
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\ACPI
ImagePath REG_EXPAND_SZ System32\drivers\ACPI.sys
@noraj
noraj / background.svg
Created Mar 19, 2020
Background generated with TrianglePattern
View background.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@noraj
noraj / tips.md
Last active May 19, 2020
BlackArch dev tips
View tips.md
View evdi_1.6.4_make.log
DKMS make.log for evdi-1.6.4 for kernel 4.19.91-1-lts (x86_64)
lun. déc. 23 11:28:45 CET 2019
make KBUILD_VERBOSE=1 M=/var/lib/dkms/evdi/1.6.4/build SUBDIRS=/var/lib/dkms/evdi/1.6.4/build SRCROOT=/var/lib/dkms/evdi/1.6.4/build CONFIG_MODULE_SIG= -C /lib/modules/4.19.91-1-lts/build modules
make[1]: Entering directory '/usr/lib/modules/4.19.91-1-lts/build'
test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
echo >&2; \
echo >&2 " ERROR: Kernel configuration is invalid."; \
echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\
echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo >&2 ; \
@noraj
noraj / README.md
Created May 30, 2019
Install powerpill with rsync support
View README.md
$ gpg --receive-keys EC3CBE7F607D11E663149E811D1F0DC78F173680
$ pikaur -S powerpill
$ sudo pacman -S reflector rsync --needed
$ reflector --protocol rsync --fastest 20 --age 12 --country France --sort rate --save /tmp/mirrorlist
$ reflector -p rsync -f 20 -a 12 -c France --sort rate --save /tmp/mirrorlist

/etc/powerpill/powerpill.json => rsync section => add servers in servers

View keybase.md

Keybase proof

I hereby claim:

  • I am noraj on github.
  • I am noraj (https://keybase.io/noraj) on keybase.
  • I have a public key whose fingerprint is 3A39 0B7C D319 153D BFD2 2B4E 2505 B21F 5BFB 05CA

To claim this, I am signing this object:

@noraj
noraj / axfr.sh
Created May 4, 2019
Quick bash script using dig for AXFR zone transfer enum
View axfr.sh
#!/bin/bash
domain='zonetransfer.me'
ns=$(dig +noall +answer NS $domain | awk '{print $5}')
for server in $ns
do
dig @$server AXFR $domain
done
@noraj
noraj / crawl-extract-resolve.sh
Created Apr 26, 2019
crawl a web page, extract all domains and resolve them to IP addresses with bash and common GNU/Linux tools
View crawl-extract-resolve.sh
#!/bin/bash
url='rawsec.ml'
domains=$(curl $url -s | grep -E 'https?://[^"]*' | cut -d '/' -f 3 | cut -d '"' -f 1 | uniq)
filename='/tmp/temporary_ips.txt'
for domain in $domains
do
@noraj
noraj / gulpfile.js
Created Dec 21, 2018
Gulp 4 gulpfile.js example / sample / style (December 2018)
View gulpfile.js
// Load plugins
const { series, parallel, src, dest, task } = require('gulp');
const { exec } = require('child_process');
const pug = require('gulp-pug');
const data = require('gulp-data');
const merge = require('gulp-merge-json');
const sass = require('gulp-sass');
const fs = require('fs');
const path = require('path');
const del = require('del');
You can’t perform that action at this time.