Skip to content

Instantly share code, notes, and snippets.

@bilalel
bilalel / BlockRobloxHostsFile.txt
Created August 15, 2024 10:51
BlockRobloxHostsFile
0.0.0.0 rbxcdn.com
0.0.0.0 roblox.com
@bilalel
bilalel / arp_spoof.py
Created February 15, 2022 22:45 — forked from ztothez/arp_spoof.py
Python Programs
#!/usr/bin/env python
import scapy.all as scapy
import time
import sys
def get_mac(ip):
arp_request = scapy.ARP(pdst=ip)
broadcast = scapy.Ether(dst="ff:ff:ff:ff:ff:ff")
arp_request_broadcast = broadcast/arp_request
@bilalel
bilalel / WAHH_Task_Checklist.md
Created August 17, 2021 19:56 — forked from jhaddix/Testing_Checklist.md
The Web Application Hacker's Handbook - Task Checklist - Github-Flavored Markdown
# Description: Boxstarter Script
# Author: Jess Frazelle <[email protected]>
# Last Updated: 2017-09-11
#
# Install boxstarter:
# . { iwr -useb http://boxstarter.org/bootstrapper.ps1 } | iex; get-boxstarter -Force
#
# You might need to set: Set-ExecutionPolicy RemoteSigned
#
# Run this boxstarter by calling the following from an **elevated** command-prompt:
@bilalel
bilalel / cloud-config.yml
Created November 14, 2019 17:22 — forked from janeczku/cloud-config.yml
Example RancherOS configuration
#cloud-config
hostname: host-0815
ssh_authorized_keys:
- ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDA61LSHA7iU+82Z2qypYLx2gB9uHydUOoDON30ceAKl5dSgzShtF5XS5sqABYBMowDcvdkNyUDdt1Druv82iu/scATLFmxTQ8R2XIL33dMO6IpBg0d3WQcU5Xqeor9s5LTpln7F0V+9vaYG/nXqQtnz4PEnZGA+f9ddHuvcDajqKLNTDyriL87E6HAfjNU+1ShI2Qv8Zqhq8rYW0zkn2C+4vVKpgzq8B91R7hSXZwUTU9+bIq3uqTfe/t9/5hFNZEUo/ezV25DFvWDmvKcXt1QRoLxL/NI7h00fEJY7QVh2eevtiA9BdthI2LHx2tm2LoMYHQVZUVljm033xh2UISx
runcmd:
- echo "true" > /home/rancher/provisioned
write_files:
- path: /etc/docker/certs.d/private-registry.internal/ca.crt

Download Audio from YouTube

-i - ignore errors

-c - continue

-t - use video title as file name

--extract-audio - extract audio track

@bilalel
bilalel / dyndns_cisco_ovh.cfg
Created November 5, 2017 09:45
DynDNS - update OVH domain A record of the IP on Cisco router
!
ip domain name cname.domain.com
ip name-server 195.238.2.22
ip name-server 195.238.2.21
!
! escape key to enter ? in configuration : 'esc' + 'q'
!
ip ddns update method OVH
HTTP
add http://domain.com-username:[email protected]/nic/update?system=dyndns&hostname=cname.domain.com
@bilalel
bilalel / pysyslog.py
Created March 13, 2017 20:35 — forked from marcelom/pysyslog.py
Tiny Python Syslog Server
#!/usr/bin/env python
## Tiny Syslog Server in Python.
##
## This is a tiny syslog server that is able to receive UDP based syslog
## entries on a specified port and save them to a file.
## That's it... it does nothing else...
## There are a few configuration parameters.
LOG_FILE = 'youlogfile.log'
{
"nodes": [
{
"name": "Client 1",
"group": 1
},
{
"name": "Loadbalancer 1",
"group": 2
},
@bilalel
bilalel / gist:6b35ad682be92e17f9bb
Last active August 29, 2015 14:06 — forked from anonymous/gist:9847044
hacker news for tabs - chrome extension
!
function (global, factory) {
"object" == typeof module && "object" == typeof module.exports ? module.exports = global.document ? factory(global, !0) : function (w) {
if (!w.document) throw new Error("jQuery requires a window with a document");
return factory(w)
} : factory(global)
}("undefined" != typeof window ? window : this, function (window, noGlobal) {
function isArraylike(obj) {
var length = obj.length,
type = jQuery.type(obj);