Skip to content

Instantly share code, notes, and snippets.

View v3rlly's full-sized avatar
🎯
Focusing

v3rlly v3rlly

🎯
Focusing
View GitHub Profile
@v3rlly
v3rlly / install-slimerjs-linux.bash
Created November 24, 2017 20:59 — forked from cvan/install-slimerjs-linux.bash
install slimerjs (and test) on linux 64-bit
#!/usr/bin/env bash
curl -k -O http://download.slimerjs.org/v0.9/0.9.0/slimerjs-0.9.0-linux-x86_64.tar.bz2
tar -xjpvf slimerjs-0.9.0-linux-x86_64.tar.bz2
rm slimerjs-0.9.0-linux-x86_64.tar.bz2
mv slimerjs-0.9.0 slimerjs
echo "console.log('SlimerJS installed OK'); slimer.exit();" > test.js
slimerjs/slimerjs test.js
@v3rlly
v3rlly / memMITM.cpp
Created December 19, 2017 03:07 — forked from anonymous/memMITM.cpp
SSL MITM PoC - Hook sspicli!EncryptMessage
#define SECURITY_WIN32 //Define First Before Imports.
#include <windows.h>
#include <stdio.h>
#include <Sspi.h> //Be sure to reference secur32.lib in Linker | Input | Additional Dependencies
FARPROC fpEncryptMessage; //Pointer To The Original Location
BYTE bSavedByte; //Saved Byte Overwritten by 0xCC -
@v3rlly
v3rlly / sqlmap tamper scripts
Created May 14, 2018 08:44 — forked from castexyz/sqlmapTamperScripts.md
Sqlmap TamperScripts
************General Scripts
--tamper=apostrophemask,apostrophenullencode,base64encode,between,chardoubleencode,charencode,charunicodeencode,equaltolike,greatest,ifnull2ifisnull,multiplespaces,nonrecursivereplacement,percentage,randomcase,securesphere,space2comment,space2plus,space2randomblank,unionalltounion,unmagicquotes
apostrophemask
Replaces apostrophe character with its UTF-8 full width counterpart
apostrophenullencode
Replaces apostrophe character with its illegal double unicode counterpart
base64encode
@v3rlly
v3rlly / icmp.php
Created July 30, 2018 01:50 — forked from spiechu/icmp.php
Class ICMPPing constructs raw ICMP echo packet, sends it and echoes the response
<?php
// See the corresponding blog entries (in Polish):
// http://spiechu.pl/2012/05/16/tworzenie-pakietow-icmp-w-php
// http://spiechu.pl/2012/05/26/w-miare-bezpieczne-uruchamianie-skryptow-php-poprzez-shell_exec
class ICMPPing
{
const TYPE_REQUEST = 0x08;
const TYPE_RESPONSE = 0x00;
@v3rlly
v3rlly / SQLite-PHP-quickstart.php
Created September 5, 2018 03:31 — forked from bladeSk/SQLite-PHP-quickstart.php
SQLite3 PHP Quickstart Tutorial
<?php
// This file walks you through the most common features of PHP's SQLite3 API.
// The code is runnable in its entirety and results in an `analytics.sqlite` file.
// Create a new database, if the file doesn't exist and open it for reading/writing.
// The extension of the file is arbitrary.
$db = new SQLite3('analytics.sqlite', SQLITE3_OPEN_CREATE | SQLITE3_OPEN_READWRITE);

1. Crie a aplicação

sails new app

2. Dentro da pasta app, Crie o arquivo de configuração do bower

@v3rlly
v3rlly / tutorial.md
Last active May 7, 2020 18:02
instação do adaptador wi-fi D-LINK DWA-182 - definitivo

como instalar o adaptador wi-fi D-LINK DWA-182

imagem do dispositivo

sudo apt-get update
sudo apt-get install linux-headers-generic build-essential git
@v3rlly
v3rlly / template.sh
Created April 18, 2020 19:49 — forked from AndersonFirmino/template.sh
Template for ShellScripts
#!/bin/bash
# ------------------------------------------------------------------
# [Author] Title
# Description
#
# This script uses shFlags -- Advanced command-line flag
# library for Unix shell scripts.
# http://code.google.com/p/shflags/
#
# Dependency:
#!/bin/bash
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# "sandbox" account to drop network traffic in linux programs
# tested on ubuntu 19.10
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# -------------------------------------------------------------------------
# 1. Create a user group that should receive the firewall rule
# -------------------------------------------------------------------------

Setup nodeJS + Nodemon + Babel ---> ES6 syntax

  1. install dependencies
 npm install babel-cli babel-preset-env babel-loader babel-core --save-dev
 sudo npm install -g nodemon