What do you want to save?
Add Code snippet
New code examples
-
Other 2021-10-10 01:18:06
how to remove an IP from fail2ban
How to unban an IP in Fail2ban? 1) Check if IP address is blocked. Fail2ban uses iptables to block the traffic. iptables -n -L | grep <IP Address> 2) Check the Fail2ban log. Fail2ban log on the server is at /var/log/fail2ban. cat /var/log/fail2ban... Add solution -
Shell/Bash 2021-10-03 16:40:02
cisco source ping from interface
R2#ping ip 1.1.1.1 ? <cr> R2#conf t Enter configuration commands, one per line. End with CNTL/Z. R2(config)#int fa0/0 R2(config-if)#ip address 10.0.0.2 255.0.0.0 R2(config-if)#^Z R2#ping 10.0.0.1 ? data specify data pattern ... Add solution -
C 2021-09-30 21:03:02
how to connect esp8266 to access point with known ip address
#include <ESP8266WiFi.h> // Include the Wi-Fi library const char* ssid = "SSID"; // The SSID (name) of the Wi-Fi network you want to connect to const char* password = "PASSWORD"; // The password of the Wi-... Add solution -
Python 2021-09-28 20:40:03
get external ip python
# This example requires the requests library be installed. You can learn more # about the Requests library here: http://docs.python-requests.org/en/latest/ from requests import get ip = get('https://api.ipify.org').text print 'My public IP address is:'... Add solution -
C# 2021-09-27 17:05:03
c# get subnet mask
/* Copyright (c) 2010 Jean-Paul Mikkers Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, in... Add solution -
Other 2021-09-27 11:19:06
wsl2 port forwarding ps1 script
$remoteport = bash.exe -c "ifconfig eth0 | grep 'inet '" $found = $remoteport -match '\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}'; if( $found ){ $remoteport = $matches[0]; } else{ echo "The Script Exited, the ip address of WSL 2 cannot be foun... Add solution -
Shell/Bash 2021-09-27 03:36:02
SSH remote capture Wireshark
sshdump --extcap-interface=sshdump --extcap-config Output: arg {number=0}{call=--remote-host}{display=Remote SSH server address}{type=string} {tooltip=The remote SSH host. It can be both an IP address or a hostname}{required=true}{grou... Add solution