Archive for category Shell Script

German Traffic To Certain Links

I need "controlled" German traffic to certain URLs and tracking pixels.
IPs must be from Germany.

The links are not supposed to show up anywhere. Best would be access to germany proxies or the like, and a script that is self written, changing IP, useragent etc.

Please PM me with your suggestions on how to proceed.

Tags: , , , , , , , , , , , , , , ,

Log Review Script-Bash-Linux-Unix

Script Requirements:

1. command line

2. Will ask user the directory path and name of the log file

3. Will ask user the date format of log file (that is date syntax to match)

4. Will ask user how many days back they want to review log file

5. Default date will be current system date.

6. Will ask user the desired path and name of the output file. Default will be original log file.date

7. Will grab the pertinent log entries and send to a file in user indicated path

8. Script must take into account monthly calendars (example months that are 27days, 28days, 30days and 31days)

9. Ability to attach additional parameters to script (example ./script | grep whatever)

Tags: , , , , , , , , , , , , , , , ,

Install SquirrelMail On Linux Web Server

I am looking for a kind soul to install SquirrelMail on my Linux reseller web server. Too busy designing to be able to spend a day trying to work out how to do this.. Budget is £30.

Tags: , , , , , , , , , , , , , , ,

Need Script To Parse Log File

Hello Bidders,
We need a script that will login to a remote nodejs server (tcpip port), parse specified log files on the local server and send data across to the remote server.

Heres the basic algorithm:

1. Read from configuration file (/etc/file_name.cfg)
a. Rules ( regular expressions )
b. List of log files
c. Server address, port
d. Username, password
2. Tail the log files in realtime (perhaps in seperate processes)
3. Parse each line using the rules
4. Send the parsed data to the server.

[steps 2,3,4 will run indefinately]

5. If server pushes data, read header to determine type of data
a. [password] – change password in config file and reconnect to server
b. [logs] – change logs in config file and reconnect to server
c. [rules] – change rules in config file and reconnect to server

The script needs to be platform-independent. It will be run on both Windows and Linux machines

——————————————————————–
Sample Config File
——————————————————————–

[SERVER]

ip=201.110.223.102
port=2301

[AUTH]

username=log123
password=89H$843hj*($82

[LOGS]

/var/log/messages
/var/log/secure
/home/domain/access_logs/domain.com

[RULES]

^[0-9]+.[0-9]+.[0-9]+.[0-9]+(?.*)[Success|Completed|Done]
^[0-9]+.[0-9]+.[0-9]+.[0-9]+(?.*)[Failed|Failure]

——————————————————————–

Please bid reasonably. For the experienced programmer this should be a quick project.
Use PM for questions.
Thanks,
Sam..

Tags: , , , , , , , , , , , , , , , ,