Skip to content

Instantly share code, notes, and snippets.

View 0xm0's full-sized avatar
🍿

Mo Hassan 0xm0

🍿
View GitHub Profile
@0xm0
0xm0 / Switch0_startup-config.txt
Created October 2, 2019 17:26
Switch network extention
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Switch
!
boot-start-marker
boot-end-marker
!
@0xm0
0xm0 / validate.js
Created November 9, 2019 01:09
validator
(function ($) {
"use strict";
/*==================================================================
[ Validate ]*/
var input = $('.validate-input .input100');
$('.validate-form').on('submit',function(){
var check = true;
! function(e) {
if (!e.hasInitialised) {
var t = {
escapeRegExp: function(e) {
return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&")
},
hasClass: function(e, t) {
var i = " ";
return 1 === e.nodeType && (i + e.className + i).replace(/[\n\t]/g, i).indexOf(i + t + i) >= 0
},
@0xm0
0xm0 / sec_checkpoint.js
Last active July 27, 2021 14:32
gnet0.com
//<![CDATA[
(function(){
var a = function() {try{return !!window.addEventListener} catch(e) {return !1} },
b = function(b, c) {a() ? document.addEventListener("DOMContentLoaded", b, c) : document.attachEvent("onreadystatechange", b)};
b(function(){
var a = document.getElementById('cf-content');a.style.display = 'block';
setTimeout(function(){
var s,t,o,p,b,r,e,a,k,i,n,g,f, SpqeeOO={"TJBCWG":+((!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![]+!![]+[])+(!+[]+!![]+!![]+!![])+(+!![])+(+[])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![])+(!+[]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![])+(+!![]))/+((!+[]+!![]+!![]+!![]+!![]+!![]+[])+(+!![])+(+!![])+(!+[]+!![]+!![]+!![])+(+!![])+(+[])+(!+[]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![]))};
g = String.fromCharCode;
@0xm0
0xm0 / electric-strings.markdown
Created December 5, 2019 09:54
Electric strings
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style>
html, body {
width: 100%;
height: 100%;
font-family: "Days One", sans-serif;
}
body {
overflow: hidden;
display: flex;
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style>
body {
width: 100%;
height: 100vh;
display: flex;
align-items: center;
background-color: #141414;
}
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style>
:root {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
-ms-box-sizing: border-box;
-o-box-sizing: border-box;
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import requests
import json
import time
import csv
import sys
import os
from bs4 import BeautifulSoup
<a[1]href[2]=[3]"[4]java[5]script:[6]alert(1)">
[1]
Bytes:
\x09 \x0a \x0c \x0d \x20 \x2f
<a/href="javascript:alert(1)">
<a\x09href="javascript:alert(1)">
[2,3]