This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//0xd10b684DB06fc09A2f6B2744DeF46c81673Fb8c2 | |
var nextRunTimeRandom; | |
function getRandomTime() { | |
nextRunTimeRandom =Math.floor(Math.random() * 111) + 125; | |
return nextRunTimeRandom; | |
} | |
// Function to create the div and apply the style | |
function createLastRunTimeDiv() { | |
var div = document.createElement('div'); | |
div.id = 'lastRunTime'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"net/url" | |
"strings" | |
"unicode/utf16" | |
) | |
func main() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/usr/local/php74/bin/pecl install timezonedb | |
You should add "extension=timezonedb.so" to php.ini |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo -i | |
sudo yum -y update | |
sudo yum -y install epel-release | |
sudo yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm | |
sudo yum install -y fio ioping nload psmisc wget htop nano iftop telnet net-tools mlocate mtr yum-utils sysstat zip unzip traceroute tcptraceroute tcpdump bind-utils ftp.x86_64 policycoreutils-python | |
sudo sed -i -e 's/10/2/g' /etc/cron.d/sysstat | |
sudo echo "DefaultLimitNOFILE=1024000" >> /etc/systemd/system.conf | |
sudo echo "DefaultLimitNOFILE=1024000" >> /etc/systemd/user.conf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$Env:GOOS = "linux" ; $Env:GOARCH = "amd64"; go build -o TelircoEsbLog -ldflags "-w -s" ../main.go ; C:\portable\upx-4.0.2-win64\upx.exe TelircoEsbLog ; explorer . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gdb `which php82` | |
run xxx.php | |
bt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ mongo | |
MongoDB shell version: 2.4.9 | |
connecting to: test | |
> use myDb | |
switched to db myDb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Make a request to ipify API | |
$apiUrl = 'https://api.ipify.org?format=json'; | |
$response = file_get_contents($apiUrl); | |
// Check if the request was successful | |
if ($response !== false) { | |
// Decode the JSON response | |
$data = json_decode($response, true); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
grep -lr --include=*.php "eval(base64_decode" /home | |
find /home -type f -name '*.php' | xargs grep -l "eval *(" --color | |
find /home -type f -name '*.php' | xargs grep -l "base64_decode *(" --color | |
find /home -type f -name '*.php' | xargs grep -l "gzinflate *(" --color | |
find /home -type f -name '*.php' | xargs grep -l "outdo" --color | |
find /home -type f -name '*.php' | xargs grep -l "eval*_POST" --color | |
find /home -type f -name '*.php' | xargs grep -l "$ptzrw" --color | |
find /home/*/domains/*/public_html/wp-content/uploads -type f -name '*.php' | |
find /home/ -type d -perm 777 -exec find {} -name "*.php" \; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo su | |
Suppress lengthy login messages: | |
touch .hushlogin | |
Get the existing package metadata up to date, and upgrade all existing packages: | |
apt -y update | |
apt -y upgrade | |
apt -y install mlocate |
NewerOlder