School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

Welcome to Dream.In.Code
Become an Expert!

Join 307,149 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,710 people online right now. Registration is fast and FREE... Join Now!




Starting perl program help

 

Starting perl program help

Code_Eater92

3 Sep, 2009 - 11:58 PM
Post #1

New D.I.C Head
*

Joined: 14 Mar, 2009
Posts: 11


My Contributions
im on a linux system now i know how to normaly run perl scripts

ie perl script.pl

this is an irc bot source code from a friend when i excute it from terminal it dose nothing anything im doing wrong?

** code removed **

User is offlineProfile CardPM
+Quote Post


no2pencil

RE: Starting Perl Program Help

4 Sep, 2009 - 12:01 AM
Post #2

i R L33t Skiddie, k?
Group Icon

Joined: 10 May, 2007
Posts: 13,499



Thanked: 303 times
Dream Kudos: 2875
Expert In: Goofing Off

My Contributions
if you run it & give it an ampersand (to put into background for processing), can you view the process with ps?

For example :

perl script.pl &
ps aux | grep sript.pl | grep -v grep

If so, then it's running in the background & simply doesn't give live output (to standard out).
User is online!Profile CardPM
+Quote Post

Code_Eater92

RE: Starting Perl Program Help

4 Sep, 2009 - 12:11 AM
Post #3

New D.I.C Head
*

Joined: 14 Mar, 2009
Posts: 11


My Contributions
root@darkside-laptop:/home/darkside/Desktop# perl bot.pl &
[1] 16535
root@darkside-laptop:/home/darkside/Desktop# ps aux | grep bot.pl | grep -v grep
[1]+ Done perl bot.pl
root@darkside-laptop:/home/darkside/Desktop#



is my output
User is offlineProfile CardPM
+Quote Post

no2pencil

RE: Starting Perl Program Help

4 Sep, 2009 - 12:20 AM
Post #4

i R L33t Skiddie, k?
Group Icon

Joined: 10 May, 2007
Posts: 13,499



Thanked: 303 times
Dream Kudos: 2875
Expert In: Goofing Off

My Contributions
QUOTE
CODE

...
# Proxy
if($body =~ m/:(.*)!(.*):!ptest (.*)$/)
     {
     $asker = $1;
     $asked = $3;
    $port=80;
    $host = "www.samair.ru";
    $target = inet_aton($host);
...
# Returns most seeded torrent form thepiratebay.org
...
# md5 hash cracker
...
$ua = $www->request(POST 'http://www.***.com/cracker/search.php',[hash => "$hash", Submit => 'Submit',]);
...

After reading over your code, I don't buy the fact that you don't know what this is for smile.gif

Good luck fixing your proxy running, hash cracking script, but we can't allow this here.

You seriously have to be out of your mind if you think that any of this is allowed here...
User is online!Profile CardPM
+Quote Post

Closed TopicStart new topic

Time is now: 11/21/09 04:17PM

Live Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month