What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-09-26 17:48:05
nodejs cronjob
/** @description CRONJOB RATE LIMIT REQUEST API MIDDLEWARE */ const cron = require('node-schedule') const axios = require('axios') /** @description store ip address user to array */ const IpAddress = [] /** @description fetch data from provider isp ... Add solution -
PHP 2021-09-25 05:41:04
php get client ip
The simplest way to collect the Client/Visitor IP address using PHP is the REMOTE_ADDR. Pass the 'REMOTE_ADDR' in PHP $_SERVER variable. It will return the IP address of the visitor who is currently viewing the webpage. Get the IP address of the website ... Add solution -
Shell/Bash 2021-09-24 13:57:03
cisco router command create subinterface as dot1q
!-- Set the privileged mode !-- and Telnet password on the switch. switch#configure terminal Enter configuration commands, one per line. End with CNTL/Z. switch(config)#hostname 3512xl 3512xl(config)#enable password mysecret 3512xl(config)#line vty 0 ... Add solution -
Other 2021-09-22 04:53:04
openssh exploit
┌─[justin@parrot]─[~/projects/CVE-2018-15473-Exploit] └──╼ $python sshUsernameEnumExploit.py --help usage: sshUsernameEnumExploit.py [-h] [--port PORT] [--threads THREADS] ... Add solution -
PHP 2021-09-22 04:26:01
php get ip address
The simplest way to collect the Client/Visitor IP address using PHP is the REMOTE_ADDR. Pass the 'REMOTE_ADDR' in PHP $_SERVER variable. It will return the IP address of the visitor who is currently viewing the webpage. Get the IP address of the website ... Add solution -
PHP 2021-09-21 13:37:01
php ping time
<?php $ip_address = '123.456.789.0'; // IP address you'd like to ping. exec("ping -c 1 " . $ip_address . " | head -n 2 | tail -n 1 | awk '{print $7}'", $ping_time); print $ping_time[0]; // First item in array, since exec returns an ... Add solution -
PHP 2021-09-19 10:55:02
php get location of user
//Gets the IP Address from the visitor $PublicIP = $_SERVER['REMOTE_ADDR']; //Uses ipinfo.io to get the location of the IP Address, you can use another site but it will probably have a different implementation $json = file_get_contents("http://ip... Add solution
Best helpers
Ranking is empty