Skip to content

Instantly share code, notes, and snippets.

View noraj's full-sized avatar
💎
FLOSSing

Alexandre ZANNI noraj

💎
FLOSSing
View GitHub Profile
@noraj
noraj / gist:99229acaea2fbb47203821d6ec01c544
Created March 25, 2017 16:44
DoubleS1405 2nd CTF Crypto | Crypto?
Caesar was born into a patrician family, the gens Julia, which claimed descent from Iulus, son of the legendary Trojan prince Aeneas,[123] supposedly the son of the goddess Venus.[82] The cognomen "Caesar" originated, according to Pliny the Elder, with an ancestor who was born by Caesarean section (from the Latin verb to cut, caedere, caes-).[48] The Historia Augusta suggests three alternative explanations: that the first Caesar had a thick head of hair (Latin caesaries); that he had bright grey eyes (Latin oculis caesiis); or that he killed an elephant (caesai in Moorish) in battle.[43] Caesar issued coins featuring images of elephants, suggesting that he favored this interpretation of his name.
Despite their ancient pedigree, the Julii Caesares were not especially politically influential, although they had enjoyed some revival of their political fortunes in the early 1st century BC.[86] Caesar's father, also called Gaius Julius Caesar, governed the province of Asia,[71] and his sister Julia, Caesar's aunt,
@noraj
noraj / tag.css
Created January 2, 2018 14:01
StyleSheet for hexo-tag-bootstrap.
/*!
* Bootstrap v3.3.5 (http://getbootstrap.com)
* Copyright 2011-2016 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/
button {
overflow: visible;
}
button {
@noraj
noraj / README.md
Created January 3, 2018 14:21
Guides and scripts for installing StackEdit
@noraj
noraj / README.md
Last active May 29, 2023 07:49
Install Firefox Developer Edition

Install Firefox Developer Edition

This script intend to provide an automatic installation of Mozilla Firefox Developer Edition for x86_64 Linux distros.

Firefox Developer Edition

Firefox Developer Edition is installed to /opt/firefox-dev/.

Note:

  • Default language is en-US, feel free to manually change it in the script.
@noraj
noraj / client.js
Created September 22, 2018 19:45
chat (Web) from D-CTF Quals 2018
const io = require('socket.io-client')
const socket = io.connect('https://chat.dctfq18.def.camp')
if(process.argv.length != 4) {
console.log('name and channel missing')
process.exit()
}
console.log('Logging as ' + process.argv[2] + ' on ' + process.argv[3])
var inputUser = {
name: process.argv[2],
@noraj
noraj / gulpfile.js
Created December 21, 2018 04:23
Gulp 4 gulpfile.js example / sample / style (December 2018)
// 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');
@noraj
noraj / crawl-extract-resolve.sh
Created April 26, 2019 18:52
crawl a web page, extract all domains and resolve them to IP addresses with bash and common GNU/Linux tools
#!/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 / axfr.sh
Created May 4, 2019 17:44
Quick bash script using dig for AXFR zone transfer enum
#!/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 / keybase.md
Created May 20, 2019 19:34
keybase

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 / README.md
Created May 30, 2019 20:20
Install powerpill with rsync support
$ 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