Skip to content

Instantly share code, notes, and snippets.

View jesusninoc's full-sized avatar
👾

Jesús jesusninoc

👾
View GitHub Profile
@jesusninoc
jesusninoc / MonitorMayhem.ps1
Created January 18, 2019 12:51 — forked from M3T4L5T3F/MonitorMayhem.ps1
Monitor Mayhem - Test if users are likely to report a possible malfunction or compromise with physical symptoms
# By @M3T4L5T3F
# Change values to different experience. Works on laptops. Future update will add desktop monitor support
$i=0
While ($true)
{
$i++
$brightness = Get-Random -Maximum 25
$delay = 0
@jesusninoc
jesusninoc / receivefile.ps1
Created May 30, 2019 16:05 — forked from staaldraad/receivefile.ps1
Small powershell script to bind to port, accept connection and stream to file. useful for ```cat blah.exe | nc 192.168.1.7 8080```
$socket = new-object System.Net.Sockets.TcpListener('0.0.0.0', 1080);
if($socket -eq $null){
exit 1;
}
$socket.start();
$client = $socket.AcceptTcpClient();
$stream = $client.GetStream();
$buffer = new-object System.Byte[] 2048;
$file = 'c:/afile.exe';
$fileStream = New-Object System.IO.FileStream($file, [System.IO.FileMode]'Create', [System.IO.FileAccess]'Write');
##############################################
## Example 1 - play a note
play 60
##############################################
## Example 2 - play 4 random notes
4.times do
play rrand_i(60, 90)
sleep 0.5
@jesusninoc
jesusninoc / shellcode.xlsm
Created December 8, 2019 19:17 — forked from Arno0x/shellcode.xlsm
XLM (Excel 4.0 macro) to execute a shellcode into Excel (32 bits) - French Macro code
BEWARE: THIS WILL ONLY WORK IN A FRENCH VERSION OF MS-OFFICE/EXCEL
1. Open Excel
2. Click on the active tab
3. Select "Insérer"
4. Click on "Macro MS Excel 4.0".
5. This will create a new worksheet called "Macro1"
================================================================================
In the Macro1 worksheet, paste the following block in cells in column A, starting in cell A1:
@jesusninoc
jesusninoc / linkedin-auto-connect.js
Created December 15, 2019 22:17 — forked from phpenterprise/linkedin-auto-connect.js
Linkedin Auto Connect/Invite Script
(Linkedin = {
release: '1.0.5 stable',
data: {},
config: {
autoStart: true,
inspectorSpeed: 5000,
sendSpeed: 4000,
pagerSpeed: 10000,
scrollDownAuto: 600,
debug: true,
@jesusninoc
jesusninoc / PowershellAes.ps1
Created December 17, 2019 15:30 — forked from ctigeek/PowershellAes.ps1
Aes Encryption using powershell.
function Create-AesManagedObject($key, $IV) {
$aesManaged = New-Object "System.Security.Cryptography.AesManaged"
$aesManaged.Mode = [System.Security.Cryptography.CipherMode]::CBC
$aesManaged.Padding = [System.Security.Cryptography.PaddingMode]::Zeros
$aesManaged.BlockSize = 128
$aesManaged.KeySize = 256
if ($IV) {
if ($IV.getType().Name -eq "String") {
$aesManaged.IV = [System.Convert]::FromBase64String($IV)
}
@jesusninoc
jesusninoc / whatsapp-sendMessage.js
Created June 14, 2020 12:14 — forked from sayhicoelho/whatsapp-sendMessage.js
Send messages to WhatsApp (web version only) programmatically.
function sendMessage (message) {
window.InputEvent = window.Event || window.InputEvent;
var event = new InputEvent('input', {
bubbles: true
});
var textbox = document.querySelector('div._3u328');
textbox.textContent = message;