Skip to content

Instantly share code, notes, and snippets.

View gpotter2's full-sized avatar

gpotter2

View GitHub Profile
@sphaero
sphaero / winipaddr.py
Last active April 10, 2023 00:12
Get windows ipadresses info
#!/usr/bin/env python
#
# For the sake of humanity here's a python script retrieving
# ip information of the network interfaces.
#
# Pay some tribute to my soul cause I lost a few years on this one
#
# based on code from jaraco and many other attempts
# on internet.
# Fixed by <@gpotter2> from scapy's implementation to
@Agoreddah
Agoreddah / encrypter.js
Last active June 7, 2024 11:48
Laravel encrypt & decrypt in Node.js
// load variables
require('dotenv').config();
// load dependencies
const crypto = require('crypto');
'use strict';
const APP_KEY = process.env.APP_KEY;