+ Reply to Thread
Results 1 to 5 of 5




  

Thread: How to track a script sending spam

      
  1. #1
    Grand Masters grim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond repute grim's Avatar
    Join Date
    September 22, 2006
    Posts
    10,060
    Rep Power
    25
    Feedback Score
    0

    Default How to track a script sending spam

    Does anyone know how to track down a script, or however a server is sending spam?

    One of my servers is sending spam under an account, I do not host any sites but my sites on this server. I am not sending the spams out, but no matter what I do, I can not stop them.

    GRIM added 277 Minutes and 25 Seconds later...

    I believe I tracked down the problem.

    Somehow someone was able to authenticate themselves as an account of mine on one of my domains, they used this to send spams.

    How they were able to get the login details however and how to stop it from happening again is a different story.

    I am spending my day changing passwords on as many accounts as possible.
    Last edited by grim; Mar 14th, 2008 at 11:59 am. Reason: Automerged Doublepost

  2. #2
    Warez Terminator webster13045 is a glorious beacon of lightwebster13045 is a glorious beacon of lightwebster13045 is a glorious beacon of lightwebster13045 is a glorious beacon of lightwebster13045 is a glorious beacon of lightwebster13045 is a glorious beacon of lightwebster13045 is a glorious beacon of lightwebster13045 is a glorious beacon of light webster13045's Avatar
    Join Date
    December 14, 2007
    Posts
    671
    Rep Power
    5
    Feedback Score
    0

    Default

    Hey Grim

    if you want i can run a few tests that i do to see how open it is by trying a couple methods to login on your server

    i use theys methods on servers i buy just to be sure they are un hackable

  3. #3
    Grand Masters grim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond repute grim's Avatar
    Join Date
    September 22, 2006
    Posts
    10,060
    Rep Power
    25
    Feedback Score
    0

    Default

    I'm fine with you giving it a go.

    What you need? IP?

  4. #4
    I'm New! orangewebhosting is on a distinguished road
    Join Date
    February 23, 2008
    Posts
    23
    Rep Power
    5
    Feedback Score
    0

    Default

    enabled a detailed log watch, it tells you who is doing what, connecting where and where from and how and what there doing when connected and send it in a nice email

  5. #5
    I'm New! sparks man will become famous soon enoughsparks man will become famous soon enough sparks man's Avatar
    Join Date
    April 23, 2008
    Location
    baghdad - iraq
    Posts
    42
    Rep Power
    5
    Feedback Score
    0

    Default Re: How to track a script sending spam

    If U want to close the spam through script only ??

    do this by using nobody
    this by :--
    Blocking spam through php script by using nobody:-

    From SSH write
    PHP Code:
    service exim stop 
    and
    PHP Code:
    pico /usr/sbin/sendmail 
    Change the file contain with the following :

    PHP Code:
     #!/usr/local/bin/perl 
      
    # use strict; 
     
    use Env
     
    my $date = `date`; 
     
    chomp $date
     
    open (INFO">>/var/log/spam_log") || die "Failed to open file ::$!"
     
    my $uid = $>; 
     
    my @info getpwuid($uid); 
     if(
    $REMOTE_ADDR) { 
             print 
    INFO "$date - $REMOTE_ADDR ran $SCRIPT_NAME at $SERVER_NAME n"
     } 
     else { 
      
            print 
    INFO "$date - $PWD -  @infon"
      
     } 
     
    my $mailprog '/usr/sbin/sendmail.hidden'
     foreach  (@
    ARGV) { 
             
    $arg="$arg$_"
     } 
      
     
    open (MAIL,"|$mailprog $arg") || die "cannot open $mailprog: $!n"
     while (<
    STDIN> ) { 
             print 
    MAIL
     } 
     
    close (INFO); 
     
    close (MAIL); 
    Then save the file sendmail And change its permissions by

    PHP Code:
    chmod +/usr/sbin/sendmail 
    and read my subject
    I just write it yesterday
    this is it
    block the spam on ur servers , secure ur server from sending spam - Webmaster Forum


    do this and tell us the result u get

    Eng.ali


+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. block the spam on ur servers , secure ur server from sending spam
    By sparks man in forum Dedicated / VPS Hosting
    Replies: 4
    Last Post: May 2nd, 2008, 2:38 pm
  2. Replies: 1
    Last Post: Nov 3rd, 2007, 12:11 am
  3. How can I track my referrals?
    By Jani in forum General Promotion
    Replies: 4
    Last Post: May 1st, 2007, 11:19 am

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
WebTalkForums
WebTalkForums
Recent Forum Threads