Custom Search

Tuesday, October 27, 2009

The launch of support forums

Visit Support Forums!
At support forums, you can learn and help other members about topics ranging from computer hardware, to programming, to cars, and even emotional support. With the friendly staff and helpful members, almost any questions can be answered here!

Timer

A small timer I made for school cause I needed to time myself for a lit speach
Click here for timer

Pastebin.com

Just noticed that when I paste my scripts into blogspot, tabs at the beginning of the line don't work, so for now on, I'll be using pastebin for my scripts.

Monday, October 26, 2009

Check out http://hackingsimplicity.blogspot.com/

http://hackingsimplicity.blogspot.com/ Is a blog you may want to check out. There are lots of great programs and information you can use and learn from. Most of the programs he offers are free, and some more advanced ones you can buy.

Here are some examples of tools he offers:

* t3c4i3's Remote Downloader v1.01 Private
* t3c4i3's Remote Access Shell v1.07ii Public
* t3c4i3's Icon Changer v1.00
* t3c4i3's Byte Adder v1.00
* t3c4i3's Remote Downloader v1.00 Public
* t3c4i3's Crypter v.1.08 Public
* t3c4i3's Keyboard Spammer v1.15

Purchase

* t3c4i3's Remote Downloader Private
* t3c4i3's WLM / MSN Stealer
* t3c4i3's FUD Keylogger Email / FTP

More on the anti-sec movement

In recent months, the hacker pseudo-religion known as Anti-Sec has had quite a resurgence. There have been several high profile hacks including Astalavista and Imageshack. Using our advanced knowledge engine we have discovered the identity of the hacker who has perpetrated these attacks. We also believe the same hacker is responsible for the recent attacks on Matasano, Kevin Mitnick, Dan Kaminsky, 0x000000, hak5, & other security industry bitches. His name: dr. raid. By day he whores himself out to the industry (Old English ain't free, haters), and by night he takes his revenge. Using a GUI program we stole from CSI's servers, we've managed to reconstruct a picture of him. If you see this man, stay away, he's got mad skillz.
Pulled from http://www.google.com/imgres?imgurl=http://4.bp.blogspot.com/_-2AzRTkEcYc/SoPV1tP89GI/AAAAAAAAANQ/C7KKSDd3w8w/s400/antisec.jpg&imgrefurl=http://pdx2600.blogspot.com/2009/08/cool-kids-loud-music-anti-sec-now-with.html&h=386&w=400&sz=21&tbnid=0gllCSKoC66fBM:&tbnh=120&tbnw=124&prev=/images%3Fq%3Danti-sec&hl=en&usg=__iOcSb4s7M97oXNOFVVQwtdljs3o=&ei=oC_mSqaELdH6tgfU0sCHAQ&sa=X&oi=image_result&resnum=4&ct=image&ved=0CBMQ9QEwAw

Sunday, October 25, 2009

Top 10 hacking incidents of all time

Top 10 hacking incidents of all time :

Top 10 hacking incidents of all time instances where some of the most seemingly secure computer networks were compromised
Early 1990s :

Kevin Mitnick, often incorrectly called by many as god of hackers, broke into the computer systems of the world's top technology and telecommunications companies Nokia, Fujitsu, Motorola, and Sun Microsystems. He was arrested by the FBI in 1995, but later released on parole in 2000. He never termed his activity hacking, instead he called it social engineering.
November 2002

Englishman Gary McKinnon was arrested in November 2002 following an accusation that he hacked into more than 90 US military computer systems in the UK. He is currently undergoing trial in a British court for a "fast-track extradition" to the US where he is a wanted man. The next hearing in the case is slated for today.
1995

Russian computer geek Vladimir Levin effected what can easily be called The Italian Job online - he was the first person to hack into a bank to extract money. Early 1995, he hacked into Citibank and robbed $10 million. Interpol arrested him in the UK in 1995, after he had transferred money to his accounts in the US, Finland, Holland, Germany and Israel.
1990

When a Los Angeles area radio station announced a contest that awarded a Porsche 944S2 for the 102nd caller, Kevin Poulsen took control of the entire city's telephone network, ensured he is the 102nd caller, and took away the Porsche beauty. He was arrested later that year and sentenced to three years in prison. He is currently a senior editor at Wired News.
1983

Kevin Poulsen again. A little-known incident when Poulsen, then just a student, hacked into Arpanet, the precursor to the Internet was hacked into. Arpanet was a global network of computers, and Poulsen took advantage of a loophole in its architecture to gain temporary control of the US-wide network.
1996

US hacker Timothy Lloyd planted six lines of malicious software code in the computer network of Omega Engineering which was a prime supplier of components for NASA and the US Navy. The code allowed a "logic bomb" to explode that deleted software running Omega's manufacturing operations. Omega lost $10 million due to the attack.
1988

Twenty-three-year-old Cornell University graduate Robert Morris unleashed the first Internet worm on to the world. Morris released 99 lines of code to the internet as an experiment, but realised that his program infected machines as it went along. Computers crashed across the US and elsewhere. He was arrested and sentenced in 1990.
1999

The Melissa virus was the first of its kind to wreak damage on a global scale. Written by David Smith (then 30), Melissa spread to more than 300 companies across the world completely destroying their computer networks. Damages reported amounted to nearly $400 million. Smith was arrested and sentenced to five years in prison.
2000

MafiaBoy, whose real identity has been kept under wraps because he is a minor, hacked into some of the largest sites in the world, including eBay, Amazon and Yahoo between February 6 and Valentine's Day in 2000. He gained access to 75 computers in 52 networks, and ordered a Denial of Service attack on them. He was arrested in 2000.
1993

They called themselves Masters of Deception, targeting US phone systems. The group hacked into the National Security Agency, AT&T, and Bank of America. It created a system that let them bypass long-distance phone call systems, and gain access to private lines.

Originally from http://programmerworld.net/

The Antisec Movement

The Anti Security Movement (also written as "antisec" and "anti-sec") is a popular movement against the computer security industry to stop the publication of information relating to but not limited to: software vulnerabilities, exploits, exploitation techniques, hacking tools, and any public outlets and distribution points of that information. Movement followers have cited websites such as SecurityFocus[1], Securiteam [2], PacketStormSecurity [3], and milw0rm to be targets of their cause, as well as mailing lists like "full-disclosure", "vuln-dev", "vendor-sec" and bugtraq, as well as public forums and IRC channels.

As recently as 2009, attacks against security communities such as Astalavista[1] and the popular image-host ImageShack[2][3] have given the movement worldwide media attention.

Read more about this here

UnFREEze

Easily make GIF Images with UnFREEze
Read more about it here

PHP - Calculator

Just a little calculator I made, it's my first php project

index.php

add.php

subtract.php

multiply.php

divide.php

Top 10 computer viruses

Top 10 computer viruses of 2009

http://www.brighthub.com/computing/smb-security/articles/44811.aspx

Saturday, October 24, 2009

How to install LAMP

From a command shell, you will run the following commands:

Code:

sudo apt-get install apache2
sudo apt-get install php5
sudo apt-get install libapache2-mod-php5
sudo /etc/init.d/apache2 restart

Your internet browser files will now be found in /var/www/ which is just usually a couple of html documents released with the standard apache distribution. From here it is simply a matter of following any tutorial on the internet on how to build websites. Just put your .php scripts, .jpgegs, .pngs, and .html files in your /var/www directory.

Top 10 Hackers

***Top 10 hackers of all time***

http://www.itsecurity.com/features/top-10-famous-hackers-042407/

Destructive Linux Commands

If your new to Linux I suggest you read through http://ubuntuforums.org/announcement.php?f=326

Friday, October 23, 2009

Simple python animation

Blogspot wouldn't format this right so I put it here:
http://pastebin.com/f498eb3f
The one above is a person. I was able to make a much better looking design
http://pastebin.com/f43d4b17a

C++ Age

#include
using namespace std;
int main(){
int age;
cout << "How old are you?" << endl;
cin >> age;
cout << "You are " << age << " years old" << endl;
cin.ignore();
cin.get();
return 0;
}

C++ Hello World

#include
using namespace std;
int main(){
cout << "Hello World\n";
cin.ignore();
return 0;
}

Don't use Python 3… yet.

Don't use Python 3… yet.
Python 2, Python 3, what's the difference?

Python 3 is the next version of Python. It breaks backwards compatibility with the 2.x branch of Python to give us some great features. Some of which are:

* Unicode strings all around
* Cleaned up standard modules

Why shouldn't I use it, yet?

In the previous paragraph it was noted that Python 3 breaks backwards compatibility with the 2.x branch of Python. The 2.x branch is still the status-quo on all linux, bsd and mac os x distributions.

Because Python 3.x breaks backwards compatibility, a lot of third party modules (those not included in the standard library) are not yet Python 3 compatible. Also, most tutorials and examples you find on the internet are written for Python 2.

If you need to pick a Python version to start developing new applications on, you should pick 2.6. If you are doing work on current applications, pick 2.5.

The 2.x branch of Python is still actively developed.
Python 2.6

Python 2.6 (when ran with the -3 flag) will give warnings about things you do which are deprecated in Python 3 and are not trivially fixed by running the '2to3' tools. If you don't get any warnings running your applications and modules on Python 2.6 it is safe to assume that they will work on Python 3 after you run the '2to3' tools on them.
From http://python-commandments.org/python3.html

Good IRC to ask questions

This is a great IRC you can go to to ask and answer questions.
irc.freenode.com/6667
#python
http://pound-python.org/

City of Warscape

def a(classname,highdamageweaponname,lowdamageweaponname,ldmgname,hdmgname,yourhealth,enemyhealth,ldmgspellname,hdmgspellname):
import os
import random
os.system("clear")
monsters = ['cyclopse', 'duck', 'dragon', 'wizard', 'magician']
randommonster = random.choice(monsters)
print "Class: %s" % classname
print "1) %s (More damage, but less armor)" % highdamageweaponname
print "2) %s (Less damage, but more armor)" % lowdamageweaponname
a = int(raw_input("You are battling a %s what weapon do you want?: " % randommonster))
while enemyhealth >= -1 and yourhealth >= -1:
hdmg = [0,5,0,15,0,20,30]
ldmg = [0,5,6,7,8,9,10]
ldmgrandom = random.choice(ldmg)
hdmgrandom = random.choice(hdmg)
edmg = [ldmgrandom,hdmgrandom]
edmgrandom = random.choice(edmg)
mdmg = [1,2,3]
mdmgrandom = random.choice(mdmg)
os.system("clear")
if a == 1:
print "you have chosen a %s" % highdamageweaponname
print "Your Armor: ", yourhealth
print "Enemy Armor: ", enemyhealth
print "1) %s (High damage | High chance of missing)" % hdmgname
print "2) %s (Low damage | Low chance of missing)" % ldmgname
c = int(raw_input("Choose your attack: "))
if c == 1:
ddmg = hdmgrandom
yourhealth = yourhealth - edmgrandom
enemyhealth= enemyhealth- ddmg
print "You Did ", ddmg, "Damage"
raw_input("Press Enter To Continue")
elif c == 2:
ddmg = hdmgrandom
yourhealth = yourhealth - edmgrandom
enemyhealth= enemyhealth- ddmg
print "You Did ", ddmg, "Damage"
raw_input("Press Enter To Continue")
if a == 2:
print "you have chosen a %s" % lowdamageweaponname
print "Your Armor: ", yourhealth + 20
print "Enemy Armor: ", enemyhealth
print "1) %s (High damage | High chance of missing)" % hdmgspellname
print "2) %s (Low damage | Low chance of missing)" % ldmgspellname
c = int(raw_input("Choose your attack: "))

if c == 1:
ddmg = hdmgrandom
yourhealth = yourhealth - edmgrandom
enemyhealth= enemyhealth- (ddmg - mdmgrandom)
print "You Did ", ddmg, "Damage"
raw_input("Press Enter To Continue")
elif c == 2:
ddmg = ldmgrandom
yourhealth = yourhealth - edmgrandom
enemyhealth= enemyhealth- (ddmg - mdmgrandom)
print "You Did ", ddmg, "Damage"
raw_input("Press Enter To Continue")
if c > 2 or c < 1:
print "Invalid attack"
raw_input("Press Enter To Continue")
if yourhealth <= 0:
os.system("clear")
print "You Died..."

elif enemyhealth<= 0:
os.system("clear")
print "You Killed Him!"
def menu():
import os
import random
os.system("clear")
print "############################################"
print " City of Warscape "
print "###########################################"
print " "
print "Choose Your Class"
print "1) Warrior"
print "2) Ranger"
print "3) Mage"
x = int(raw_input("What Class What You Like To Be?: "))
if x == 1:
a('Warrior','Mace','Sword','Pound','Bash',100,100,'Slice','Dice')
if x == 2:
a('Ranger','Bow','Knives','Steady Shot','Power Shot',100,100,'Toss','Hurl')
if x == 3:
a('Mage','Staff','Wand','Poke','Slash',100,100,'Fireball','Froststrike')
menu()

Thursday, October 22, 2009

Image to text

Just a cool site a found. check it out
Text-Image.com Takes your picture and changes it into whatever text you want. It just changes the colors!
http://www.text-image.com/convert/

Installing mod_python

To install mod_python, we simply run:

apt-get install libapache2-mod-python


3 Configuring Apache

Now we must configure Apache so that it can handle Python files. There are two ways of doing so. The first (and default) one is to use the Publisher Handler. It allows you to write pure Python scripts with the extension .py that will be interpreted by Apache. The second way is the PSP Handler. PSP stands for Python Server Pages. It allows you to embed Python code directly in HTML code, similar to PHP. PSP files have the extension .psp.


3.1 The Publisher Handler

To enable the Publisher Handler, we must open our vhost configuration (I'm using the default vhost on Debian with the document root /var/www; the configuration for this vhost is located in /etc/apache2/sites-available/default) and add the lines AddHandler mod_python .py, PythonHandler mod_python.publisher, and PythonDebug On to it:

vi /etc/apache2/sites-available/default

[...]

Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
AddHandler mod_python .py
PythonHandler mod_python.publisher
PythonDebug On

[...]

Restart Apache afterwards:

/etc/init.d/apache2 restart

Now we create a little Python test script (e.g. /var/www/test.py) with pure Python code in it...

vi /var/www/test.py

def index(req):
return "Test successful";

From
http://www.howtoforge.com/embedding-python-in-apache2-with-mod_python-debian-etch

Monday, October 19, 2009

If your beginning python, try to make some of these. It depends how you like to learn. But this helped be a lot, because I like learning from applying what I know, and if you don't now how to do something, It gives you something you can ask or look up.

1. Prompt the user to input a number, and if it is not a number reprompt.
2. Prompt the user to enter a word, and if it is not a single word reprompt.
3. Write the user's input to a file.
4. Read the user's input from a file.
5. Append the user's input to an existing file.
6. Prompt for an existing path and file name, if it doesn't exist reprompt.
7. Prompt for a new path and file name, if it does exist reprompt.
8. Read data from a file, sort it, and write it back out.
9. Build a grid (columns and rows) and fill it with data (Address book, Birthday list, whatever).
10. Create a simple game.

Originally from http://www.python-forum.org/pythonforum/viewtopic.php?f=14&t=6625

Sunday, October 18, 2009

Calculator- No fuctions

loop = 1
choice = 0
while loop == 1:
print "1) Addition"
print "2) Subtraction"
print "3) Division"
print "4) Multiplication"
print "5) Exit"
choice = input("Choose your operation: ")
if choice == 1:
ax = input("Add this: ")
ay = input("To this: ")
print ax, "+", ay, "=", ax + ay
if choice == 2:
sx = input("Subtract this: ")
sy = input("From this: ")
print sx, "-", sy, "=", sx - sy
if choice == 3:
dx = input("Divide this: ")
dy = input("By this: ")
print dx, "/", dy, "=", dx / dy
if choice == 4:
mx = input("Multiply this: ")
my = input("With this: ")
print mx, "x", my, "=", mx * my
elif choice == 5:
loop = 0

print "----------------------------------------"
print "----------------------------------------"

Simple DDoS Mitigation

#!/usr/bin/env python
#By Fallen
import os, time
CONLIMIT = 20
SLEEP = 12
Round = 0
Banned = 0
while True:
Round += 1
for Line in os.popen("netstat -ntu | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -n", "r").read().split("\n"):
List = Line.split(" ")
try:
if int(List[-2]) > CONLIMIT:
os.system( "route add %s gw 127.0.0.1 lo" % ( List[ -1 ] ) )
print "Banning %s...." % ( List[ -1 ] )
Banned += 1
except Exception:
pass
print "Round: %s Bans: %s" % ( str(Round), str(Banned) )
time.sleep(SLEEP)

What do you want to count by?

import os
while True:
x = 0
y = 0
z = 0
os.system("clear")
x = input("What Would You Like To Count By?: ")
os.system("clear")
y = input("Where Would You Like To Start?: ")
os.system("clear")
z = input("Where Would You Like To End?: ")
os.system("clear")
for i in range(y,z,x):
print i
raw_input("Press Enter To Continue")

Python for beginners

PYTHON FOR BEGINNERS

Chapter 1: Intro
Chapter 2: Your first python script
Chapter 3: Magic eight ball
Chapter 4: Calculator

INTRO

This tutorial is directed to people learning python, and that already have python installed on their computer and know how to execute a script. If you don't, download python from python.org. If you are on Linux or mac, you should already have python and to execute the script you made in text edit and saved as a .py, go into terminal and type
[code]python scriptname.py[/code]

YOUR FIRST PYTHON SCRIPT

The Print Command:
This simple but useful function displays text on the screen
[code]print "Hello there"[/code]
This will display:

Variables:
Used to store information, variables can be very helpful
[code]a = "hello"[/code]
a now equals "hello", so when you
[code]print a[/code]
You will see
[quote]hello[/QUOTE]

raw_input:
This function is used to take input from the user of your program
[code]raw_input("Type Something: ")[/code]
This will display
[QUOTE]Type Something: [/quote]
This function isn't very useful without it meaning something, so to do this we will allow a variable to store the information the user inputs
[code]x = raw_input("Type Something: ")[/code]
This will display
This may look the same, however, adding the "x =" makes whatever the user types equal to x

Your first python script:
putting everything you just learned together we will make our first script
[code]
x = raw_input("Type Something: ")
print x
[/code]

MAGIC EIGHT BALL

import:
This is used to import moduels
A moduel is basically another script
For your second project we will be using the moduel "random"
[code]import random.py[/code]
This will display nothing, however, it is very important

Moduel Fuctions:
Different moduels have different fuctions
For this project, we will be using the choice fuction
[code]random.choice[/code]
Again this will display nothing

Strings:
Now we need make a string that random.choice will choose a variable or quote from from
[code]array = ['a','b','c','d','e','f'][/code]
This will display nothing

random.choice:
Next we will make random.choice choose a random variable from the array, which was our string
[code]random.choice(array)[/code]
This will display nothing

Magic Eight Ball:
[code]
import random
raw_input("Ask your question: ")
a = ["Yes","No","Ask Again Later","Maybe"]
p = random.choice(a)
print(p)
[/code]

CALCULATOR

Defining your own fuctions:
you can use this to make your own functions
[code]def add(a,b):[/code]
This will display nothing

Math symbols:
The basic sybols for math in python are +, -, *, and /
[code]
x = 2 + 2
print x
[/code]
This will diplay
[quote]4[/QUOTE]

While loop:
The while loop is used to make your program run a certain amount of times, or an unlimited amount of times
[code]
x = 0
while x = 0:
print "hi"
[/code]
This wil endlessly display
[QUOTE]hi[/quote]

if:
This command means if this is true, do this
[code]
x = 1
if x == 1:
print "hi"
[/code]
This will display
The reason there are two equal signs is so there are more options than just =, <, or >. Since you can use two sybols,
you can do many more things. For example do not equal to
[code]!=[/code]


Calculator:
[code]
print "1) Addition"
print "2) Subtraction"
print "3) Multiplication"
print "4) Division"
print "5) Quit"
return input ("Choose an operation: ")
def add(a,b):
print a, "+", b, "=", a + b
def sub(a,b):
print a, "-", b, "=", a - b
def mul(a,b):
print a, "x", b, "=", a * b
def div(a,b):
print a, "/", b, "=", a / b
loop = 1
choice = 0
while loop == 1:
choice = menu()
if choice == 1:
add(input("Add this: "), input("To this: "))
elif choice == 2:
sub(input("Subtract this: "), input("From this: "))
elif choice == 3:
mul(input("Multiply this: "), input("With this: "))
elif choice == 4:
div(input("Divide this: "), input("By this: "))
elif choice == 5:
loop = 0
[/code]

Text Encrypt

#Made My Me And Fallen
import re
while True:
print "\n" * 80
print "1) Encrypt"
print "2) Decrypt"
choice = input("What would you like to do?: ")
if choice == 1:
a = "znakqlxzamc"
b = "hznalkprasdnlaskf"
c = "qpavmdlpcianasl"
d = "fglaspgnasfalmfnkdcoz"
e = "ujasbofdbbspqowlamzleasn"
f = "anslfklvlcaoalsmndnzoqlaziql"
Word = list(raw_input("Type your word: "))
print "".join(["".join([a,b,c,Char,d,e,f]) for Char in Word])
raw_input("Press Enter To Continue")
if choice == 2:
print re.sub("(znakqlxzamc|hznalkprasdnlaskf|qpavmdlpcianasl|fglaspgnasfalmfnkdcoz|ujasbofdbbs ​pqowlamzleasn|anslfklvlcaoalsmndnzoqlaziql)", "", raw_input("Paste in the message: "))
raw_input("Press Enter To Continue")

Slope finder

import os
os.system("clear")
while True:
print "--------------------------------------------------"
print " Slope Finder "
print "--------------------------------------------------"
a = 0
b = 0
c = 0
d = c
a = input("First x: ")
b = input("First y: ")
c = input("Second x: ")
d = input("Second y: ")
print d - b,"/",c - a

Matrix

import random
while True:
x = ['1','0']
y = random.choice(x)
a = ['1','0']
b = random.choice(a)
print b,y,b,y,b,y,b,y,b,y,b,y,b,y,

Magic 8 Ball

import os
os.system("clear")
loop = 1
while loop == 1:
import random
raw_input("Ask your question: ")
a = ["Yes","No","Ask Again Later","Go die","Maybe"]
p = random.choice(a)
print(p)

Guessing game

import random
import os
os.system("clear")
a = 0
g = 0
l = 1
b = ["1","2","3","4","5","6","7","8","9","10"]
c = random.choice(b)
while l == 1:
os.system("clear")
print "1) Single Player"
print "2) Two Players"
a = input("Chooce Amount Of Players: ")
os.system("clear")
if a == 1:
d = raw_input("Guess A Number Between One And Ten: ")
os.system("clear")
if c == d:
print "You Win!"
elif c != d:
print "You Lose..."

if a == 2:
e = raw_input("Player 1, Choose A Number Between One And Ten: ")
os.system("clear")
f = raw_input("Player 2, Guess A Number Between One And Ten: ")
os.system("clear")
if f == e:
print("Player 2 Wins!")
elif f != e:
print("Player 1 Wins!")
print "1) Play Again"
print "2) Exit"
g = input("Make Your Decision: ")
if g == 1:
l = 1
if g == 2:
l = 0
os.system("clear")

Calculator

def menu():
print "---------------------------------------------------"
print " Welcome To Nevets04's Calculator"
print "---------------------------------------------------"
print "1) Addition"
print "2) Subtraction"
print "3) Multiplication"
print "4) Division"
print "5) Quit"
return input ("Choose an operation: ")
def add(a,b):
print a, "+", b, "=", a + b
def sub(a,b):
print a, "-", b, "=", a - b
def mul(a,b):
print a, "x", b, "=", a * b
def div(a,b):
print a, "/", b, "=", a / b
loop = 1
choice = 0
while loop == 1:
choice = menu()
if choice == 1:
add(input("Add this: "), input("To this: "))
elif choice == 2:
sub(input("Subtract this: "), input("From this: "))
elif choice == 3:
mul(input("Multiply this: "), input("With this: "))
elif choice == 4:
div(input("Divide this: "), input("By this: "))
elif choice == 5:
loop = 0

Adding text to a file

x = open("file.txt", "w")
y = raw_input()
x.write(y)
x.close
x = open("file.txt", "r")
x.read