View previous topic :: View next topic |
Author |
Message |
zieloo Veteran
Joined: 28 Mar 2004 Posts: 1337
|
Posted: Wed May 04, 2005 7:34 am Post subject: [NET] Many connections |
|
|
I'm dead serious here, don't laugh at me if you read sth funny:lol:
I need to create multiple connections to a server. It doesn't matter what type of connections, but it has to as many as possible of them.
What would I use for that? |
|
Back to top |
|
|
jbwillia Tux's lil' helper
Joined: 07 May 2004 Posts: 108 Location: TN, USA
|
Posted: Wed May 04, 2005 7:41 am Post subject: |
|
|
soooo, you're wanting to launch a DOS attack??? _________________
Code: | #!/bin/bash
for everyexe in $(find /home/you -name "*.exe" | egrep -i ".*exe$")
do
kill $(pgrep you)
done |
|
|
Back to top |
|
|
zieloo Veteran
Joined: 28 Mar 2004 Posts: 1337
|
Posted: Wed May 04, 2005 7:50 am Post subject: |
|
|
No, I just want to test the network. I'm not sure it will handle the trafiic, that's why I want to do it. |
|
Back to top |
|
|
jbwillia Tux's lil' helper
Joined: 07 May 2004 Posts: 108 Location: TN, USA
|
Posted: Wed May 04, 2005 7:56 am Post subject: |
|
|
lol .... can you not just write a quick little script that does this in a loop or even a C program (if you want it really fast)? _________________
Code: | #!/bin/bash
for everyexe in $(find /home/you -name "*.exe" | egrep -i ".*exe$")
do
kill $(pgrep you)
done |
|
|
Back to top |
|
|
jbwillia Tux's lil' helper
Joined: 07 May 2004 Posts: 108 Location: TN, USA
|
Posted: Wed May 04, 2005 8:12 am Post subject: |
|
|
damn, I crashed my laptop experimenting with your idea here. Seeing that I don't have a per user process limit setup on my laptop like the solaris machines I administer at work I didn't stop the script I wrote before it got out of control. I'm just tired and need to go to sleep now. LoL _________________
Code: | #!/bin/bash
for everyexe in $(find /home/you -name "*.exe" | egrep -i ".*exe$")
do
kill $(pgrep you)
done |
|
|
Back to top |
|
|
|