Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Configure and test common network services (HTTP, HTTPS, SNMP, SMB) for penetration testing lab environments. Enable hands-on practice with service enumeration, log analysis, and security testing against properly configured target systems.
.claude/skills/lingxling-network-101/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-09 | ✗→✓ | ▲ Improved | 126% | 0% |
| case-12 | ✗→✓ | ▲ Improved | 147% | 0% |
| case-19 | ✓→✗ | ▼ Worse | 192% | 0% |
| case-16 | ✓→✓ | = Same ✓ | 7% | 0% |
| case-21 | ✓→✓ | = Same ✓ | 87% | 0% |
Configure and test common network services (HTTP, HTTPS, SNMP, SMB) for penetration testing lab environments. Enable hands-on practice with service enumeration, log analysis, and security testing against properly configured target systems.
Set up a basic HTTP web server for testing:
Windows IIS Setup:
Linux Apache Setup:
bash# Install Apache sudo apt update && sudo apt install apache2 # Start service sudo systemctl start apache2 sudo systemctl enable apache2 # Create test page echo "<html><body><h1>Test Page</h1></body></html>" | sudo tee /var/www/html/index.html # Verify service curl http://localhost
Configure Firewall for HTTP:
bash# Linux (UFW) sudo ufw allow 80/tcp # Windows PowerShell New-NetFirewallRule -DisplayName "HTTP" -Direction Inbound -Protocol TCP -LocalPort 80 -Action Allow
Set up secure HTTPS with SSL/TLS:
Generate Self-Signed Certificate:
bash# Linux - Generate certificate sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 \ -keyout /etc/ssl/private/apache-selfsigned.key \ -out /etc/ssl/certs/apache-selfsigned.crt # Enable SSL module sudo a2enmod ssl sudo systemctl restart apache2
Configure Apache for HTTPS:
bash# Edit SSL virtual host sudo nano /etc/apache2/sites-available/default-ssl.conf # Enable site sudo a2ensite default-ssl sudo systemctl reload apache2
Verify HTTPS Setup:
bash# Check port 443 is open nmap -p 443 192.168.1.1 # Test SSL connection openssl s_client -connect 192.168.1.1:443 # Check certificate curl -kv https://192.168.1.1
Set up SNMP for enumeration practice:
Linux SNMP Setup:
bash# Install SNMP daemon sudo apt install snmpd snmp # Configure community strings sudo nano /etc/snmp/snmpd.conf # Add these lines: # rocommunity public # rwcommunity private # Restart service sudo systemctl restart snmpd
Windows SNMP Setup:
SNMP Enumeration Commands:
bash# Basic SNMP walk snmpwalk -c public -v1 192.168.1.1 # Enumerate system info snmpwalk -c public -v1 192.168.1.1 1.3.6.1.2.1.1 # Get running processes snmpwalk -c public -v1 192.168.1.1 1.3.6.1.2.1.25.4.2.1.2 # SNMP check tool snmp-check 192.168.1.1 -c public # Brute force community strings onesixtyone -c /usr/share/seclists/Discovery/SNMP/common-snmp-community-strings.txt 192.168.1.1
Set up SMB file shares for enumeration:
Windows SMB Share:
Linux Samba Setup:
bash# Install Samba sudo apt install samba # Create share directory sudo mkdir -p /srv/samba/share sudo chmod 777 /srv/samba/share # Configure Samba sudo nano /etc/samba/smb.conf # Add share: # [public] # path = /srv/samba/share # browsable = yes # guest ok = yes # read only = no # Restart service sudo systemctl restart smbd
SMB Enumeration Commands:
bash# List shares anonymously smbclient -L //192.168.1.1 -N # Connect to share smbclient //192.168.1.1/share -N # Enumerate with smbmap smbmap -H 192.168.1.1 # Full enumeration enum4linux -a 192.168.1.1 # Check for vulnerabilities nmap --script smb-vuln* 192.168.1.1
Review logs for security analysis:
HTTP/HTTPS Logs:
bash# Apache access log sudo tail -f /var/log/apache2/access.log # Apache error log sudo tail -f /var/log/apache2/error.log # Windows IIS logs # Location: C:\inetpub\logs\LogFiles\W3SVC1\
Parse Log for Credentials:
bash# Search for POST requests grep "POST" /var/log/apache2/access.log # Extract user agents awk '{print $12}' /var/log/apache2/access.log | sort | uniq -c
| Service | Port | Protocol | |---------|------|----------| | HTTP | 80 | TCP | | HTTPS | 443 | TCP | | SNMP | 161 | UDP | | SMB | 445 | TCP | | NetBIOS | 137-139 | TCP/UDP |
bash# Check HTTP curl -I http://target # Check HTTPS curl -kI https://target # Check SNMP snmpwalk -c public -v1 target # Check SMB smbclient -L //target -N
| Tool | Purpose | |------|---------| | nmap | Port scanning and scripts | | nikto | Web vulnerability scanning | | snmpwalk | SNMP enumeration | | enum4linux | SMB/NetBIOS enumeration | | smbclient | SMB connection | | gobuster | Directory brute forcing |
bash# Install and configure sudo apt install apache2 sudo systemctl start apache2 # Create login page cat << 'EOF' | sudo tee /var/www/html/login.html <html> <body> <form method="POST" action="login.php"> Username: <input type="text" name="user"><br> Password: <input type="password" name="pass"><br> <input type="submit" value="Login"> </form> </body> </html> EOF # Allow through firewall sudo ufw allow 80/tcp
bash# Quick SNMP configuration sudo apt install snmpd echo "rocommunity public" | sudo tee -a /etc/snmp/snmpd.conf sudo systemctl restart snmpd # Test enumeration snmpwalk -c public -v1 localhost
bash# Configure anonymous share sudo apt install samba sudo mkdir /srv/samba/anonymous sudo chmod 777 /srv/samba/anonymous # Test access smbclient //localhost/anonymous -N
| Issue | Solution | |-------|----------| | Port not accessible | Check firewall rules (ufw, iptables, Windows Firewall) | | Service not starting | Check logs with journalctl -u service-name | | SNMP timeout | Verify UDP 161 is open, check community string | | SMB access denied | Verify share permissions and user credentials | | HTTPS certificate error | Accept self-signed cert or add to trusted store | | Cannot connect remotely | Bind service to 0.0.0.0 instead of localhost |
This skill is applicable to execute the workflow or actions described in the overview.
| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-02 | fail→fail | 10,395 | 9,459 | -9% | 1 | 1 | 0% | 2,042 | 4,219 | +107% | 0 | 0 | — |
case-03 | fail→fail | 13,901 | 10,221 | -26% | 1 | 1 | 0% | 2,504 | 4,047 | +62% | 0 | 0 | — |
case-16 | pass→pass | 27,790 | 10,866 | -61% | 1 | 1 | 0% | 4,000 | 4,265 | +7% | 0 | 0 | — |
case-21 | pass→pass | 12,126 | 12,059 | -1% | 1 | 1 | 0% | 2,285 | 4,264 | +87% | 0 | 0 | — |
case-01 | fail→fail | 12,042 | 9,673 | -20% | 1 | 1 | 0% | 2,424 | 3,769 | +55% | 0 | 0 | — |
case-04 | pass→pass | 8,571 | 5,709 | -33% | 1 | 1 | 0% | 1,631 | 3,237 | +98% | 0 | 0 | — |
case-05 | pass→pass | 11,134 | 3,485 | -69% | 1 | 1 | 0% | 1,946 | 2,821 | +45% | 0 | 0 | — |
case-06 | pass→pass | 12,652 | 6,087 | -52% | 1 | 1 | 0% | 1,718 | 3,266 | +90% | 0 | 0 | — |
case-07 | pass→pass | 7,392 | 4,751 | -36% | 1 | 1 | 0% | 1,515 | 2,901 | +91% | 0 | 0 | — |
case-08 | fail→fail | 11,605 | 22,046 | +90% | 1 | 1 | 0% | 1,043 | 4,160 | +299% | 0 | 0 | — |
case-09 | fail→pass | 7,996 | 5,631 | -30% | 1 | 1 | 0% | 1,422 | 3,208 | +126% | 0 | 0 | — |
case-10 | pass→pass | 7,971 | 8,260 | +4% | 1 | 1 | 0% | 1,452 | 2,814 | +94% | 0 | 0 | — |
case-11 | pass→pass | 10,362 | 4,073 | -61% | 1 | 1 | 0% | 1,963 | 2,822 | +44% | 0 | 0 | — |
case-12 | fail→pass | 7,568 | 3,740 | -51% | 1 | 1 | 0% | 1,093 | 2,698 | +147% | 0 | 0 | — |
case-13 | pass→pass | 6,302 | 4,062 | -36% | 1 | 1 | 0% | 1,073 | 2,796 | +161% | 0 | 0 | — |
case-14 | pass→pass | 12,934 | 5,632 | -56% | 1 | 1 | 0% | 1,977 | 2,793 | +41% | 0 | 0 | — |
case-15 | pass→pass | 7,731 | 3,739 | -52% | 1 | 1 | 0% | 1,295 | 2,775 | +114% | 0 | 0 | — |
case-17 | pass→pass | 5,761 | 4,140 | -28% | 1 | 1 | 0% | 1,183 | 2,960 | +150% | 0 | 0 | — |
case-18 | pass→pass | 4,826 | 3,617 | -25% | 1 | 1 | 0% | 880 | 2,573 | +192% | 0 | 0 | — |
case-19 | pass→fail | 8,946 | 13,082 | +46% | 1 | 1 | 0% | 1,264 | 3,686 | +192% | 0 | 0 | — |
case-20 | pass→pass | 12,755 | 6,735 | -47% | 1 | 1 | 0% | 1,927 | 3,359 | +74% | 0 | 0 | — |
case-22 | pass→pass | 16,469 | 13,487 | -18% | 1 | 1 | 0% | 2,255 | 4,758 | +111% | 0 | 0 | — |
case-23 | fail→fail | 8,851 | 10,128 | +14% | 1 | 1 | 0% | 855 | 2,985 | +249% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 23 cases were attempted. The headline lift of +4 percentage points is the difference between those two pass rates over the 23 comparable cases. 1 case got worse with the skill loaded, and it is included in that figure.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.