What do you want to save?
Add Code snippet
New code examples
-
C# 2022-03-18 05:05:03
ArgumentNullException system.net.dns exampple
public static IPHostEntry GetHostEntry(string hostNameOrAddress) { if(Logging.On)Logging.Enter(Logging.Sockets, "DNS", "GetHostEntry", hostNameOrAddress); &n... Add solution -
Other 2022-03-11 08:25:12
Rejetto HTTP File Server
#!/usr/bin/python # Exploit Title: HttpFileServer 2.3.x Remote Command Execution # Google Dork: intext:"httpfileserver 2.3" # Date: 04-01-2016 # Remote: Yes # Exploit Author: Avinash Kumar Thapa aka "-Acid" # Vendor Homepage: http://re... Add solution -
Javascript 2022-03-03 11:25:11
How to get client's IP address from brouser using JavaScript
// You can't extract the the public ip from with in the browser // but you CAN use a third party, there are a lot of them out there // I use www.ipify.org/ // because, according to them: // // 1. You can use it without limit (even if you're doing million... Add solution -
SQL 2022-03-03 00:00:02
real world example of nosql
One example is analytics. Lets say you want to build the next Google Analytics. You figure out you want to track IP Address, Browser & Device type. Later you, however, finds out you might want to track Browser Size as well. Since analytics databases ... Add solution -
C 2022-02-19 19:25:05
esp32 dhcp server
WiFiServer server(80); static const char *ap_ssid = "ESP32-001"; static const char *ap_pass = "temp_pass"; void setup() { Serial.begin(115200); WiFi.softAP(ap_ssid, ap_pass); Serial.print("Access point running. IP address... Add solution -
Shell/Bash 2022-02-15 12:50:14
Como testar uma porta UDP/TCP
#### TCP # nc -z -v -u [hostname/IP address] [port number] # Uso nc -z -v 192.168.10.12 22 # Connection to 192.118.20.95 22 port [tcp/ssh] succeeded! #### UDP # Uso # nc -z -v [hostname/IP address] [port number] nc -z -v -u 192.168.10.12 123 # S... Add solution -
Java 2022-02-12 07:20:51
ip adress format control java
import java.util.regex.Matcher; import java.util.regex.Pattern; // Java program to validate an IPv4 address class Main { // an IPv4 address private static final String INET4ADDRESS = "172.8.9.28"; private static final String IPV4_REGEX = ... Add solution