Using Find Command With Regex To Find All Number-only Filenames

Oct 15, 2007

how can i do a search for all files (probs using regex) of files consisting purely of numbers?

for e.g. find:

53243.php
24353.php
24098.php

(always have 5 numbers).

seems one of my accounts has had some script run which generated a bunch of these in various subfolders, and the php file basically does a callback to www3.rssnews.ws and www3.xmldata.info, which seem to be some sort of spyware servers.

View 10 Replies


ADVERTISEMENT

Where Do I Find The Shell Command Feature

Jun 9, 2008

i am trying hard to understand how everything works, i just finished installing my CentOS 5.2 OS and need to install + Apache + MySQL + PHP/Perl.

Also i downloaded the apache file and tried to insatll it but it has to be done by giving a command via Bash shell for wht i understood, so i downloaded bash shell file. How and where do i enter the commands for installing these applications?

View 3 Replies View Related

Find & Tar

Jun 21, 2007

I can't seem to figure out why this is not working. I want to cd into a directory and only compress certain files. However, what I end up with is a file called ..tgz (I am not sure why it is adding that other dot).

Here is the command line:

find . -mmin +1 -exec tar czf {}.tgz {} ;

View 2 Replies View Related

Someone Are Using My BW. Can I Find Out Whose Ips

Jul 14, 2007

I have a CentOS web server at my company. It's dual opteron. That server also acts like a router and I have about 5 computer are connected to that router. My web server has been slowed and can i find out who is using my bw ?. Those 5 computers has only local ips (10.10.0.x).

that my website is just for me, no one else know that website.

View 5 Replies View Related

File/Command To Change Number Of Open Files In Linux

Aug 22, 2009

I can't seem to remember, but what's that command or file used in Linux so that you can view/adjust the number of open files and others in the system?

View 3 Replies View Related

How-To: Find PHP Nobody Spammers!

Apr 9, 2004

Someone posted some code similar to below, I made modifications or two after trying to detect PHP "nobody" users, after dumping a few printenv I found PHP exports PWD when calling an external program such sendmail. Basically the PWD will show the user directory that is coming from, which is enough to detect who is sending SPAM even as nobody! It's not 100% secure in that they could wipe /var/log/formmail but I don't imagine any spam will notice the logger, they presume any cPanel server (or other CP for that matter) is the same.

mv /usr/sbin/sendmail /usr/sbin/sendmail2
pico /usr/bin/sendmail (paste the below code into it)
chmod +x /usr/bin/sendmail
echo > /var/log/formmail
chmod 777 /var/log/formail

#!/usr/local/bin/perl

# use strict;
use Env;
my $date = `date`;
chomp $date;
open (INFO, ">>/var/log/formmail.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";
}
else {

print INFO "$date - $PWD - @info";

}
my $mailprog = '/usr/sbin/sendmail.real';
foreach (@ARGV) {
$arg="$arg" . " $_";
}

open (MAIL,"|$mailprog $arg") || die "cannot open $mailprog: $!";
while (<STDIN> ) {
print MAIL;
}
close (INFO);
close (MAIL);

View 14 Replies View Related

How Do You Find Joe's Datacenter

Oct 3, 2009

i want to know more about there service.
does any one work with them?
i need more review about them.

View 14 Replies View Related

Where To Find My Crontab

Jun 23, 2009

in which folder is the crontab generally located.

i run LAMP

also,i m looking for a specific cron right now (xbt_cron).once i find it ,what command do i use to run it manually.its supposed to run by itself..i just moved to a new server last week and now its stopped working.

View 7 Replies View Related

Where To Find VPS On Litespeed

Feb 27, 2009

I tried searching for it on google but couldn't find any server company offering VPS using Litespeed instead of Apache. Yes, I know that Apache could be optimized, but would like to try a VPS or dedicated server with Litespeed, just for testing and learning to use and troubleshoot Litespeed. Does anybody here know of a supplier? I would need less than 10 gigs, 250+ Ram as well as cPanel.

View 13 Replies View Related

How To Find Paths Within The VPS

Nov 26, 2008

How can I find a path in my VPS? It uses virtuozzo. I am new to all this so this might be a stupid question..

For example, my host says ffmpeg is in usr/bin/ffmpeg,, how do I find /usr/?

View 6 Replies View Related

Where Can I Find 10+ Tb Bandwidth

Sep 4, 2008

Here's my situation:

I run a site that does a lot of transfers AND uses a lot of CPU resources. I think I would like to get two different hosting plans to deal with these different patterns of usage, but where can I find a good host offering lots of bandwidth that is content to have it actually used? I've been with DreamHost for a while but they don't allow "data archiving" or whatever (and I have arguments against their claims but it's neither here nor there). So, really, where the heck can a guy find a good host offering plenty of space and bandwidth? Keep in mind I need pretty much no CPU power with such a plan; the web server can be stone cold stupid for all I care, as I can just get a VPS to run the CPU-intensive part of my site!

View 14 Replies View Related

How Do You Find Your Host

Apr 21, 2008

I was wondering how you guys go about finding a host?

Where do you do your research?

What forums do you use?

What else do you do in your process before finding a web host?

Do you subscribe to newsletters or web host magazines?

View 14 Replies View Related

/var Is Full, Cant Find

May 10, 2008

Weve got a server where the /var is setup at 7gb, which is now %100 full.

Weve deleted the common logs we always notice, but thats only gotten us down to %94.

Anyone have any ideas what we should be cleaning or a good script that might help?

seems 5.5gb of data is in /lib

What is safe to delete from /lib and why is it taking up so much space?

View 4 Replies View Related

Find Domain Against PID

Sep 12, 2007

If I have PID 1122 of apche httpd and using 99% CPU. How can I find the crosponding web site name which is utilizing that much CPU so I can the suspend it.

View 1 Replies View Related

How To Find A Big File

Sep 14, 2007

Over the last day. I have noticed that something is suddenly taking up 15gb on my server.

My server is Centos.

How would i find what this is. I have tried for about 1 hour to track this down but cant find anything.

How do i do a search of all files on the server and arranging it by the file size.

View 3 Replies View Related

Cannot Find The Maillog

Jan 23, 2007

waht i do ?

Code:
root@server [~]# service exim restart
Shutting down clamd: [ OK ]
Shutting down exim: [ OK ]
Shutting down antirelayd: [FAILED]
Shutting down spamd: [ OK ]
Starting clamd: [ OK ]
Starting exim-26: [ OK ]
Starting exim: [ OK ]
Starting exim-smtps: [ OK ]
Starting antirelayd: Cannot find the maillog at /usr/sbin/antirelayd line 26.
[FAILED]
Starting spamd: [ OK ]

View 2 Replies View Related

How To Find The Fiber

May 26, 2007

Assuming that one was to get a local office in a town, how would someone find building or area that had a high availbility of fiber nearby, but was not a datacenter? Are their fiber maps for each big city? Does anyone have fiber maps for Houston, Texas? I would be interested in seeing these maps if possible.

View 5 Replies View Related

Can't Find Wget

Dec 28, 2007

I can't find wget on a hosting. SSH command find / -name wget returns with nothing, however wget works properly on a hosting, what could the problem be?

View 14 Replies View Related

How To Find Blocked IPs

Jun 4, 2007

Some of our servers are complaining that they can't access the website. How can we check the blocked IPs using IP tables rules? Are there any special command to check?

View 3 Replies View Related

Find Shell

Oct 9, 2007

How can i find shell in my server?

is a program that find them?

my server is linux / centos / cpanel control panel

how can i disable shell in my server?

and stop deface

View 5 Replies View Related

Can I Find Free Hosts?

May 13, 2008

where can I find free hosts?

View 1 Replies View Related

Find And Kill Spammers!

May 18, 2007

Just got alerted that my server is being used to send spam. Here is the information the datacenter gave me:

[information .....]

NOTE: I changed the real domain name and IP only.

Is there an expert who can help me decipher this? How do I find the culprit? My provider is threatening to shut me down and sink all my clients with the ship!

I am running the latest WHM and cpanel server, fyi.

View 14 Replies View Related

How Do I Find Out CPU Details Of My Server

Oct 2, 2009

Q. I've a dedicated server and I'd like to find out my servers details [CPU, RAM, HDD] etc. How?

Q. My server comes with two HDDs. How do I access them through the WHM or cPanel?

View 5 Replies View Related

Trying To Find A Server Host

May 13, 2009

Im trying to find the most reliable webhoster on the wed. Im looking to start a business where i can offer regular hosting as well as reseller accounts. Im looking for a good server with a low price.

View 8 Replies View Related

Find A Host. NO SPAM

Feb 1, 2009

I have a web blog that shows promise of growing pretty big soon! This is a vbulletin whith chatbox and arcade games. The forum is for gamers and game modification talk. I want to keep my features such as in forum mp3 player for streaming music. I host no files everything is linked from outside sources. Even photos are linked from photo hosts. I forsee about 20-30 members on at all time browsing and chatting in chatbox. Playing in the online arcade!

I have no idea how much bandwidth all this will use up. I do know that 20-40 gig of space should be quite enough but as always I want all I can get. As far as bandwidth I have no idea what all those features will eat up.

I have looked at fatcow.com and talked to them they said their unlimited is this 300gig space 3000 gig bandwidth and they do not keep up with msql databases. I looked on BBB and they have an A+ record if compared to hostgator they have unsatifatory! The only problem is they are yearly contract only. I do not trust this! I also have to let them re-bill me at end of year and this gives them access to my account. The payment options are check,paybal, or credit.

View 9 Replies View Related

How To Find Out One Provider If It Is An Overseller

Jun 4, 2009

how to find out one provider if it is an overseller.

Disk storage size
Bandwidth
CPU/Memory

For CPU/Memory it is hard to say how to check, but we can check the allowed Disk storage size and Bandwidth.

The marketing price can be presumed $0.1/1GB for Bandwidth, and $1/1GB for Disk storage size.

If the assumed marking price is correct, we can use this standard to check one provider if it is overseller.

View 14 Replies View Related

Where Can I Find Free PhP Web Hosting

Jan 24, 2009

Where can I find free web hosting that supports Php?

Basically so I can have my viewers post me form messages on my website to my email?

Also which is better to use Php or .asp & whats there differences?

View 3 Replies View Related

Where Do I Find My Server Logs

Jun 27, 2009

as the title states,where do i find my server logs?

i run LAMP and have root access.

and once i find the file,how do i view it through shell?

View 12 Replies View Related

How To Find Spam Script

Oct 31, 2009

I found a spam script running in the processes under apache as ky.pl. But no matter how

I search I can't seem to find this file, anyone know what is the procedure?

View 3 Replies View Related

Where To Find Bulk IP Addresses

May 13, 2009

I am in need of 5,000 to 10,000 thousand ip addresses for a private proxy network.

View 14 Replies View Related

How To Find If My New Nameservers Are Propogated

Mar 30, 2009

I updated to make my domain also be nameservers ns1 and ns2 with ip's tied to them. How do I know when the nameservers are working and ok to use?

Is there something physical I can do other than switching my domain to point to it? I really dont want to do that cause then my site could be down while it is still propogating.

View 13 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved