There are no reviews yet. Be the first to send feedback to the community and the maintainers!
========= Injcode ========= :Author: Thomas Habets :Contact: [email protected] :Copyright: GPL Only supports x86 Linux, not 64bit. Install ======= Just type "make", and then put the binary (injcode) wherever you like. How it works ============ Injcode attaches to the target process using ptrace(). It then copies code and data into the memory space of the process and runs that. Then it cleans up as if it was never there. It places the code and data in the current code and data page, respectively. This ensures that no stack execution protection blocks it. The code injected can be anything, but currently these are implemented: - test Prints a message to stdout in the context of the target process. - close Close any file descriptor. (see /proc/<pid>/fd) - dup2 Overwrite any fd with a newly opened file. - retty Move a program from another tty to this one. Doing retty is quite involved. See: http://blog.habets.pp.se/2009/03/Moving-a-process-to-another-terminal for the full story. Running ======= Example 1: move irssi from one terminal to another -------------------------------------------------- Maybe move it into a screen. First start irssi in one terminal. Run injcode in another terminal: $ injcode -m retty <pid of irssi> Irssi should now be moved to the second terminal, including having a new controlling terminal. Example 2: redirect stdout of a running program into a file ----------------------------------------------------------- $ injcode -m dup2 \ -ofd=1 \ -oflags=O_CREAT,O_WRONLY,O_TRUNC \ -ofilename=logfile.txt <pid of program> Bugs ==== See bug list/wishist using BugsEverywhere. This file is written in `reStructuredText <http://docutils.sourceforge.net/docs/user/rst>`_
arping
ARP Pingsimple-tpm-pk11
Simple PKCS11 provider for TPM chipscmdg
Command line Gmail clientssh-scripts
Some SSH-related scriptsmonotonic_clock
Portable C library for getting monotonic timexor-analyze
Program for cryptanalyzing xor "encryption" with variable key lengthax25ms
This project is a set of AX.25 microservices, to be pluggable for any implementation.tlssh
TLS Shellbthelper
Bluetooth helper tools for setting up serial ports for e.g. SSHeggpd
Erlang BGP daemonsshproxy
SSH Proxy / Load balancerradiostuff
My collection of gnuradio stuffopenssl-tpm-engine
TPM engine module for OpenSSL (this is not upstream)rslurp
slurp down a whole HTTP directory, with parallel goodnessgtping
GTP Pingsim
Multi Party Authorization version of sudo/doasind
Indent output from subprocessweberl
Like web.py, but for Erlangclipsniff
Sniff the clipboard of a Unix X server.goircd
Minimalistic simple Internet Relay Chat (IRC) serverpipebench
Measures the speed of stdin/stdout communication. I would actually recommend 'pv' over this program. I put it on github in order to collect everything in one place.hamtransfer
Tool for transferring files over amateur radio using modern techniquesdejitun
De-jitter tunnelyhsmpam
YubiHSM PAM module backendgoodpipe
qpov
Tool for converting Quake demo files to POV-Raydotfiles
My dotfilestlscheck
Quickly check TLS certificates of frontends and backendslibopenpty
openpty() for platforms that don't have itrustradio
Like GNURadio, but in Rustdiamond_linking_example
Example of a diamond linking thingy with version problems. See http://blog.habets.pp.se/2012/05/Shared-libraries-diamond-problemmultitraceroute
Fast traceroute that does TCP, UDP and ICMP traceroute in parallel and shows the results in one big table.tcpstats
Collect stats on TCP connections on close()wifispace
GNURadio program for measuring how busy wifi channels arelightwave
Like google wave, but much dumber and written in erlangzipbrute
Old project for brute forcing zip file passwords I found in an old backup from 2001.tarweb
Serve a static website from a tar filehamwebby
Web interface for remote rig control of ham radiosopwgen
Generate passwords like OPIE generates OTPs: readablyfluxbox
Fluxbox window managernetmap
Make and organize network maps from data directly out of your routersgopload
Self-contained simple HTTP upload handler using websockets to show progressopenvpn
OpenVPN, with SSL Engine (TPM) supportcert-sig-pin
Extract a certificate signature suitable for Chrome public key pinning.pam_externalpass
Spawn external program from PAM to do authenticationyurate
Curate Youtube videos so that you don't miss any subscribed content.temp-to-cloud
Upload temperature measurements to Stackdrivergo-uuid
Local mirror of deleted codesite projectfirewalls-at-the-source
x11type
Simulate keypresses in Xtravelling-amateur
Tool for finding rules for operating amateur radio while visiting another country.autoscan
Web and LCD/button UI for scanning from a USB scanner directly into Google Driveudportknock
UDP portknock scriptpgsql
Postgresql useful commands, to be run with psql [databasename] -f <filename>brain
My brainychares
Yubikey challenge-response scriptnetcat
netcat-openbsd with fixed TCP_MD5SIG for Linuxyoracle
Yubikey oracle3ggraph
Graph live information from a 3G dongleirssi
irssi with TPM supportkybertest
CLI to encrypt files using quantum-resistant cryptographylivecount
A widget for a web page (e.g. a blog post) that shows how many people (browsers) currently have the page openairthingy
Tools for airthings API and bluetoothroodit
My reddit scriptssparslog
My implementation of an IKEA sparsnรคs SDR receiverdrive-du
Cmdline and cloud tool for listing folder sizes in Google Drivetlshake
mdsort
Maildir sortersmoog
My smugmug scriptsopenvpn-debian
OpenVPN, with SSL Engine (TPM) supportndping
Like ARPing, but for IPv6closite
Redirect user to the closest site using javascriptlibdropprivs
Example code (will be library) for dropping privilegesprofy
Always-on VPN client scripts intended for Raspberry Pi or other small computersgr-habets38
My gnuradio components for gnuradio 3.8+doublecross-cpp
Experiments in making C++11 versions of things that exist in other languages. Such as the Maybe Monad from Haskell.tleservice
TLEService is a microservice for calculating satellite orbits.flight-radiation
Radiation data from a recent flight between LHR and SFOkeffos
Silly OS I wrote as a teenagerLove Open Source and this site? Check out how you can help us