Skip to content

Instantly share code, notes, and snippets.

View b1nary's full-sized avatar

Roman Pramberger b1nary

View GitHub Profile
@b1nary
b1nary / SetasCommandBook.markdown
Created January 23, 2012 20:09
the linux command reference of awesomeness

Seta's Command Book

Why this exists...

  • as reference for me
  • because Linux is to amazing to hold all commands
  • because the world needs to know! xD

Note that this is actually growing... Its not really much yet ;)

@b1nary
b1nary / AES_over_IRC.rb
Created January 24, 2012 00:30
AES and some more encryptions over IRC
#!/usr/bin/env ruby
require 'socket'
require 'openssl'
require "base64"
server = "some-irc.tld"
port = "6667"
nick = "Nickname#{rand(5000)}"
channel = "#channel"
@b1nary
b1nary / _.markdown
Created January 24, 2012 19:37
A projekt based time plan maker

Generate Fancy ASCII/HTML tables for a simple projekt time plan

Made by me. Feel free to use and or modify ;)

@b1nary
b1nary / _.markdown
Created January 24, 2012 23:08
Colored Table from Array in Ruby

Colored Table from Array in Ruby

needs: colorize

or hack the colors out :3

also needs some optimations. the code is redundant. Just posted it here if i may not work on it in next time

@b1nary
b1nary / _.markdown
Created January 27, 2012 20:35
HideMage in development ;) It can save Text to images and get it back.

HideMage

What i try in this projekt is to make an simple but effective tool to hide information in Images. Text or in Binary should not matter. Also it should give some functions like decodeing it, or encrypting it (AES, ...)

Todo

  • Encryption (Aes, ...) use OpenSSL Api ^^
  • May add Twofish Encryption
  • Write Binary data to images
  • Execute Scripts hidden in Images (also width password)
@b1nary
b1nary / _.markdown
Created January 28, 2012 11:40
convert text to an binary based Image.

rBinmage

Converts text to Images based on 1 and 0. They can easily get coded and decoded. Works best with gif or Bitmap images.

Needs: rMagick

Example, the Script itself Encrypted:

Binary Image Example

@b1nary
b1nary / post_tor_ruby.rb
Created February 8, 2012 17:35
[Ruby] Post form data trough socks
require 'rubygems'
require 'rest-client'
# Socksify is amazing handling Proxys, also Socks like tor
# The proxy is simply aviable in the whole script
require 'socksify'
TCPSocket::socks_server = "127.0.0.1"
TCPSocket::socks_port = 9070
# Create a cookie
@b1nary
b1nary / torrc
Created February 8, 2012 17:39
TORrc - auto get now IP
# place to /etc/tor/torrc
# or simply
# $ tor -f /path/tor/torrc -D /path/to/datadir
SocksPort 9050
SocksListenAddress 127.0.0.1
NewCircuitPeriod 1
MaxCircuitDirtiness 1
EnforceDistinctSubnets 1
@b1nary
b1nary / Main.java
Last active September 30, 2015 22:27
Java basics
public class Main {
/*
* Vl. aber nur ganz vl macht das Java logisch.
*
* NOTE: Ich erwarte den Preis für die blödesten
* Variablen Namen ;)
*
* Und ja, man schreibt Variablen normal
* nicht alle Gross, sry ^^
@b1nary
b1nary / 1.f
Last active October 1, 2015 01:18
Programming Syntax Evolution (Or some Hallo Worlds)
// Fortran
// Year: 195455
// Name: The IBM Mathematical FORmula TRANslating System
Program Hello
Print *, "Hello World!"
End Program Hello