vanstechelman.eu
open-menu closeme
  • Credential validation using RADIUS in PHP

    calendar Mar 31, 2014 · 2 min read · Networking PHP RADIUS  ·
    Share on: twitter facebook linkedin copy

    Validating a username and password pair against a remote RADIUS server is an easy task in PHP. This page shows two methods via which credentials can be checked using the RADIUS protocol. The first method will use PHP’s RADIUS PECL extension (see http://www.php.net/manual/en/book.radius.php). The second method will use …


    Read More
  • Minimal HTTP requests

    calendar Apr 6, 2013 · 1 min read · Networking HTTP  ·
    Share on: twitter facebook linkedin copy

    This page lists different HTTP request templates. All templates contain the minimum number of required headers. HTTP POST
    POST /login.cgi HTTP/1.0 Host: 192.168.200.1 Content-Type: application/x-www-form-urlencoded Content-Length: 51 submit=Login&username=admin&password=Adm1n15trat0r HTTP GET
    GET /index.html HTTP/1.0 …


    Read More
  • Scanning for SNMP services with default community strings

    calendar Dec 8, 2011 · 1 min read · Security Networking  ·
    Share on: twitter facebook linkedin copy

    You can use the following commands to scan a netblock for the presence of systems with an SNMP service which still use the community strings “public” and/or “private”. nmap -P0 -v -sU -p 161 -oA snmp_scan 192.168.0.1/24 for i in *.gnmap do for j in $(grep ‘161/open/’ $i | awk ‘{ print $2 }’) do echo $j snmpwalk -v2c -c …


    Read More
  • Configure static IP Debian Linux

    calendar Feb 21, 2011 · 1 min read · Linux Networking Bash Debian  ·
    Share on: twitter facebook linkedin copy

    The purpose of this small message is to show how you can configure a static IP address in Debian Linux. I know that other sites have more detailed explanations on this (and the man page too), but I put it here mostly as a reminder to myself. Add the following content in /etc/networking/interfaces to configure a static …


    Read More
  • Using tcpdump

    calendar Jun 22, 2009 · 1 min read · Networking  ·
    Share on: twitter facebook linkedin copy

    Some examples of using tcpdump. Show all packets received from host 123.123.123.123 tcpdump -r $i src host 123.123.123.123 Show all TCP packets received from host 123.123.123.123 except the RCP RESET packets tcpdump -r $i src host 123.123.123.123 and tcp[tcpflags] & tcp-rst==0 Show all UDP packets received from host …


    Read More
  • Create a virtual host on IIS 6 using iisweb

    calendar Jul 27, 2008 · 1 min read · Networking Windows IIS  ·
    Share on: twitter facebook linkedin copy

    Name-based virtual hosts use multiple host names for the same webserver IP address. This post show how you can create name-based virtual hosts using the iisweb command-line utility. With web browsers that support HTTP/1.1 (as nearly all now do), upon connecting to a webserver, the browsers send the address that the …


    Read More
  • Dnscmd - Managing the Windows DNS Server

    calendar Apr 13, 2008 · 4 min read · Networking Windows DNS  ·
    Share on: twitter facebook linkedin copy

    This page explains how you can script the creation of new domains in a Windows DNS server using the dnscmd utility. For one of my projects, I needed to find a way to redirect requests from local machines to for example google.com to a local webserver. To accomplish this, I setup a DNS server, made sure that all the …


    Read More
  • Add a static IP route in Windows

    calendar Mar 9, 2008 · 2 min read · Networking Windows  ·
    Share on: twitter facebook linkedin copy

    How to add a static IP route in Windows? To add a static IP route

    Open Command Prompt. \ At the command prompt, type: route add destination mask subnetmask gateway metric costmetric if interface \ where:

    destination: Specifies either an IP address or host name for the network or host. \ subnetmask: Specifies a …


    Read More
  • The NET command

    calendar Mar 9, 2008 · 1 min read · Networking Windows  ·
    Share on: twitter facebook linkedin copy

    The NET Command is used to manage network resources as follows: Manage Services NET START, STOP, PAUSE, CONTINUE Connect to a file/print Share (Drive Map) NET USE Create/view file/printer Shares NET SHARE, VIEW, FILE, SESSIONS Manage Network Print jobs and Network Time NET TIME, PRINT Security NET ACCOUNTS, USER, …


    Read More
  • Netmask, CIDR and the size of networks

    calendar Feb 10, 2008 · 1 min read · Networking  ·
    Share on: twitter facebook linkedin copy

    The following table translates the traditional netmask format to its CIDR notation. Additionally you can see how many addresses can exist in a subnet with a certain netmask. php $headers = array(“Netmask”, “CIDR”, “Nr of IPs”); $rows = array(); $rows[] = array(“255.255.255.255”, “32”, “1”); $rows[] = …


    Read More

Recent Posts

  • Phases in a DevSecOps agile cycle
  • Security roles in a DevSecOps strategy
  • Managing Windows firewall with PowerShell
  • The most common BitLocker command-line commands
  • Testing for CVE-2018-11784 - Apache Struts 2 Open Redirect vulnerability
  • Testing for impact of Infineon’s vulnerable RSA generation (CVE-2017-15361)
  • How to run the WSUS Server Cleanup Wizard from command-line
  • Scanning for CVE-2017-0143 (EternalBlue) using nmap (MS17-010)

Tags

WINDOWS 34 SECURITY 20 LINUX 12 INFRASTRUCTURE SECURITY 11 NETWORKING 10 WEB APPLICATION SECURITY TESTING 10 BASH 8 AUDIT 7 TESTING 6 NMAP 5 AUTOIT 4 MONITORING 4 BURP SUITE 3 JAVA 3 POWERSHELL 3 PROGRAMMING 3 WINDOWS EVENT LOGS 3 WMIC 3 DEVSECOPS 2 DNS 2 DRUPAL 2 DRUPAL 7 2 GOOD PRACTICES 2 SED 2 SUBINACL 2 TOOLS 2 VBSCRIPT 2 WINDOWS GROUP POLICY 2 APACHE 1 BITLOCKER 1 DEBIAN 1 EMAIL SECURITY 1 HTML5 1 HTTP 1 IIS 1 JAVASCRIPT 1 NAGIOS 1 PHP 1 RADIUS 1 RANDOMNESS TESTING 1 SDLC 1 SOFTWARE DEVELOPMENT 1 SPLUNK 1 SQL SERVER 1 TPM 1 UEFI 1 WSUS 1 XCACLS 1
vanstechelman.eu

Copyright  VANSTECHELMAN.EU. All Rights Reserved

to-top