Skip to content

Instantly share code, notes, and snippets.

Hack the planet

Rico d-Rickyy-b

Hack the planet
View GitHub Profile
d-Rickyy-b / Program.cs
Created Sep 14, 2022 — forked from Slaynash/Program.cs
NSISBI Extractor (Unity Installer Extractor)
View Program.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Runtime.InteropServices;
using System.Text;
using System.Text.RegularExpressions;
namespace UnityNSISReader
class Program
d-Rickyy-b /
Last active Dec 6, 2021
Small python script to extract (forward) messages from a bot using telegram as phishing backend /
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Script to forward the content of a chat between a Telegram Bot and a user/chat to another user/chat
# Make sure to send /start to the bot on Telegram beforehand, otherwise Telegram won't allow the bot to forward messages to you!
import argparse
import json
import logging
import requests
import signal
import time
d-Rickyy-b / pingTest.go
Created Jun 6, 2021
Minimal working example for debugging an issue with go-ping/ping
View pingTest.go
package main
import (
func execPing(ipAddress string) (bool, error) {
pinger, err := ping.NewPinger(ipAddress)
d-Rickyy-b /
Created Apr 12, 2020
How to make pageant load your ssh keys and start putty afterwards

How to make pageant load your ssh keys and start putty afterwards

For me it used to be very annoying to always manually start pageant, load my key(s) one by one, enter their passwords and then manually start putty. So I thought of an easy way to automate that process. And luckily we don't even need any kind of script for that. Just a single link, that will open pageant with our specified key(s) and afterwards will run putty. Here you can see how that works!


  1. Create a new link to your pageant.exe
  2. Open the link's properties
  3. Go to the tab "Link properties" and enter "C:\path\to\pageant.exe" "C:\path\to\key.ppk" -c "C:\path\to\putty.exe"
  4. Take the path of the pageant's directory and enter it in "Start in" field.
d-Rickyy-b /
Created Feb 28, 2020
Sample config for pastepwn
# -*- coding: utf-8 -*-
import logging.handlers
import os
from pastepwn import PastePwn
# Import new actions here - you need to import each action prior to using it
from pastepwn.actions import EmailAction, IrcAction
# Import new analyzers here - you need to import each analyzer prior to using it
from pastepwn.analyzers import MailAnalyzer, WordAnalyzer
d-Rickyy-b /
Last active Apr 22, 2020
Parses csgo files.
import time
from lark import Lark
from lark import Transformer
import json
# Data holder classes used for parsing
class Pair(object):
def __init__(self, name, value): = name
d-Rickyy-b / asb_filterlist.txt
Created Apr 20, 2019 — forked from quantenProjects/asb_filterlist.txt
Axel Springer Blocker List for uBlock. Content from: feel free to comment if changes are required. And for the people from Springer, this here is art or satrie or anything other inocent ;)
View asb_filterlist.txt
! content from
d-Rickyy-b / geizhalsbot.service
Created Nov 24, 2018
Simple systemd service for the GeizhalsBot
View geizhalsbot.service
ExecStart=/opt/bots/Python-GeizhalsBot/.venv/bin/python3 /opt/bots/Python-GeizhalsBot/
d-Rickyy-b /
Last active Jun 6, 2020
Install script for grocy on a fresh debian installation
cd /var/www/html
rm index.html
wget -q "${version}/grocy_${version}.zip"
unzip "grocy_${version}.zip"
rm "grocy_${version}.zip"
chown www-data: /var/www/html -R
d-Rickyy-b /
Created Mar 15, 2018
Code for checking out the timeout of answerCallbackQuery of the Telegram bot API. After ~15 seconds you get the Telegram error QUERY_ID_INVALID
import logging
import time
from telegram import InlineKeyboardButton, InlineKeyboardMarkup
from telegram.error import BadRequest
from telegram.ext import Updater, CommandHandler, CallbackQueryHandler
logger = logging.getLogger(__name__)