Skip to content

Instantly share code, notes, and snippets.

View zwetan's full-sized avatar
🌀
getting shit done

Zwetan Kjukov zwetan

🌀
getting shit done
View GitHub Profile
@zwetan
zwetan / HttpRequest.as
Created June 19, 2015 11:37
nodeas replica
package nodeas.http
{
public class HttpRequest
{
private var _request:String;
public function HttpRequest():void
{
super();
@zwetan
zwetan / redshell
Created September 13, 2015 10:10
redshell bash script to place in the redtamarin-sdk bin folder
#!/bin/bash
function follow_links() {
file="$1"
while [ -h "$file" ]; do
# On Mac OS, readlink -f doesn't work.
file="$(readlink "$file")"
done
echo "$file"
}
@zwetan
zwetan / redbean
Created September 13, 2015 10:27
redbean bash script to place in the redtamarin-sdk bin folder (rename original redbean binary to "redbean-macintosh" for ex)
#!/bin/bash
function follow_links() {
file="$1"
while [ -h "$file" ]; do
# On Mac OS, readlink -f doesn't work.
file="$(readlink "$file")"
done
echo "$file"
}
@ECHO OFF
REM -- Redtamarin Windows Environment Setup
REM -- This will install the following:
REM -- 1) Cygwin
REM -- https://cygwin.com/
REM -- 2) Cygwin Packages
REM -- bash,bash-completion,mintty,ncurses,which,
REM -- nano,wget,hostname,openssh
REM -- 3) apt-cyg - Cygwin Package Manager
REM -- https://github.com/transcode-open/apt-cyg
@zwetan
zwetan / redtamarin-install.sh
Created March 1, 2016 03:20
Redtamarin Prod Install script (Ubuntu 14.04.4 LTS 64-bit)
#!/bin/bash
# _____ _ _ __ __ __
# / ___/__ _______ ___ ____ _(_)___ / |/ /__ / /__ _____ ____/ /__ ___
# / /__/ _ \/ __(_-</ _ `/ _ `/ / __/ / / -_) __/ |/|/ / _ \/ __/ '_/(_-<
# \___/\___/_/ /___/\_,_/\_,_/_/_/ /_/|_/\__/\__/|__,__/\___/_/ /_/\_\/___/
# ---------------------------------------------------------------------------
# date: 2016-02-26
# desc: Make a full redtamarin install
# deps: Ubuntu 14.04.4 LTS
/* Usage:
public class Something
{
private var _mutex:Mutex;
private var _commands:WorkerConnection;
public function say( message:String ):void
{
package flash.net
{
import C.arpa.inet.*;
import C.errno.*;
import C.netdb.*;
import C.netinet.*;
import C.sys.socket.*;
import C.unistd.*;
@zwetan
zwetan / MaterialDesignPalette.as
Created April 20, 2016 15:43
Material Design Colors
package corsaair.bootstrap.ui.colors
{
/**
* Google's Meterial Design Palette class.
*
* <p>
* This color palette comprises primary and accent colors
* that can be used for illustration or to develop your
* brand colors.
@zwetan
zwetan / phrack69.as
Last active May 6, 2016 22:29
download and extract Phrack uuencoded stuff
#!/usr/bin/as3shebang
import shell.*;
var name:String = "13.html";
if( FileSystem.exists( name ) )
{
FileSystem.remove( name );
}
@zwetan
zwetan / phrackjs.as
Created October 27, 2016 16:28
download and extract Phrack uuencoded stuff
#!/usr/bin/as3shebang
import shell.*;
var name:String = "attacking_javascript_engines.html";
if( FileSystem.exists( name ) )
{
FileSystem.remove( name );
}