Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@ruevaughn
ruevaughn / 1_top+hacker_methodologies.md
Last active April 23, 2024 15:12
Hacker Methodologies & Tools (NEW)

The Top Hacker Methodologies & Tools Notes

Nuclei Templates

Concrete5 CMS : Identification, Mass Hunting, Nuclei Template Writing & Reporting


@dmmeteo
dmmeteo / 1.srp.py
Last active April 23, 2024 15:09
SOLID Principles explained in Python with examples.
"""
Single Responsibility Principle
“…You had one job” — Loki to Skurge in Thor: Ragnarok
A class should have only one job.
If a class has more than one responsibility, it becomes coupled.
A change to one responsibility results to modification of the other responsibility.
"""
class Animal:
def __init__(self, name: str):
@guessi
guessi / email_validator_regex.sh
Last active April 23, 2024 15:08
Simple Email Validator in Bash
#!/usr/bin/env bash
#
# RFC standard of the email address could be found in rfc5322, rfc6854, etc.
#
# however, it is hard to escape all the special characters in the bash
# so, in this script, it will only check for the address syntax only
# having some valid/invalid inputs to test its result
#
# please be noted that, it is not design to detect mailbox deliverability
This file has been truncated, but you can view the full file.
#EXTM3U
#EXTINF:-1 ,Channel T1
http://128.199.212.160/channelt1/1080/index.m3u8
#EXTINF:-1 ,Channel-S
https://a.jsrdn.com/r-373576a3/publish/22679_24MrQma9TX/index.m3u8
#EXTINF:-1 ,NTV (UK Time)
https://a.jsrdn.com/r-373576a1/publish/22680_3BR3zocwi9/index.m3u8
#EXTINF:-1 ,NTV (US Pacific Time)
https://a.jsrdn.com/broadcast/22680_3BR3zocwi9/-0800/c.m3u8
Rem run as administrator
@echo on & @setlocal enableextensions
@echo =========================
@echo Turn off the time service
net stop w32time
@echo ======================================================================
@echo Set the SNTP (Simple Network Time Protocol) source for the time server
w32tm /config /syncfromflags:manual /manualpeerlist:"0.it.pool.ntp.org 1.it.pool.ntp.org 2.it.pool.ntp.org 3.it.pool.ntp.org"
@echo =============================================
@echo ... and then turn on the time service back on
@Atavic
Atavic / properties_system_android.md
Created January 29, 2018 22:10
Android System Properties
@PurpleVibe32
PurpleVibe32 / vmwk17key.txt
Last active April 23, 2024 15:03
Free VMware Workstation Pro 17 full license keys
Install VMWare Workstation PRO 17 (Read it right. PRO!)
Also, these keys might also work with VMWare Fusion 13 PRO. Just tested it.
Sub to me on youtube pls - PurpleVibe32
if you want more keys - call my bot on telegram. @purector_bot (THE BOT WONT REPLY ANYMORE) - Or: https://cdn.discordapp.com/attachments/1040615179894935645/1074016373228978277/keys.zip - the password in the zip is 102me.
---
This gist can get off at any time.
PLEASE, DONT COPY THIS. IF YOU FORK IT, DONT EDIT IT.
*If you have a problem comment and people will try to help you!
*No virus
@beleidy
beleidy / history.zsh
Created October 4, 2019 19:32
Zsh history settings -- taken from oh-my-zsh
## History wrapper
function omz_history {
local clear list
zparseopts -E c=clear l=list
if [[ -n "$clear" ]]; then
# if -c provided, clobber the history file
echo -n >| "$HISTFILE"
echo >&2 History file deleted. Reload the session to see its effects.
elif [[ -n "$list" ]]; then