Tag: firewall

Security, WEB

Detect, record and prevent attacks on web applications

Shadow Daemon is a collection of tools to detect, record and prevent attacks on web applications. Shadow Daemon is a web application firewall that intercepts requests and filters out malicious parameters. It is a modular system that separates web application, analysis and interface to increase security, flexibility and expandability. Download The Shadow Daemon web application …


Get installed firewall in C

You will need to include the libraries ole32.lib, oleaut32.lib and wbemuuid.lib into your project. The following code can be compiled in Code::Blocks and Eclipse, no need for Visual Studio. Includes and Definitions: #include <stdio.h> #include <stdlib.h> #include <windows.h> #include <stdbool.h> #include <wbemidl.h>   #define WIN_VISTA 0x0600   CLSID CLSID_WbemLocator2 = {0x4590F811, 0x1D3A, 0x11D0, {0x89, 0x1F, …

Detection, Firewall

How to detect Web Application Firewalls

WAFW00F – Web Application Firewall Detection Tool – identifies and fingerprints Web Application Firewall (WAF) products. To do its magic, WAFW00F does the following: > Sends a normal HTTP request and analyses the response; this identifies a number of WAF solutions. > If that is not successful, it sends a number of (potentially malicious) HTTP …


Get firewall name in Windows using C#

To detect installed firewall’s name in Windows we need ManagementObjectSearcher class. To use it, we have to add a reference to the namespace System.Management. try { ManagementObjectSearcher mos = null; if (Environment.OSVersion.Version.Major > 5) { mos = new ManagementObjectSearcher(@"\" + Environment.MachineName + @"rootSecurityCenter2", "SELECT * FROM FirewallProduct"); } else { mos = new ManagementObjectSearcher(@"\" + …

Firewall, Microsoft Windows

Disable Windows firewall via Command Line

Open command line. To disable windows firewall execute: netsh firewall set opmode disablenetsh firewall set opmode disable or netsh advfirewall set allprofiles state offnetsh advfirewall set allprofiles state off To enable windows firewall execute: netsh firewall set opmode enablenetsh firewall set opmode enable or netsh advfirewall set allprofiles state onnetsh advfirewall set allprofiles state on