Angry IP Scanner – Fast Network Scanner

Angry IP scanner is a very easy to use, fast network scanner – basically a cross-platform IP address and port scanner. It can scan IP addresses in any range as well as any their ports, it’s also very lightweight and doesn’t require any installation, it can be freely copied and used anywhere.

 

Angry IP scanner simply pings each IP address to check if it’s alive, then optionally it is resolving its hostname, determines the MAC address, scans ports, etc. The amount of gathered data about each host can be extended with plugins.

How it Works

Angry IP Scanner implements several different methods of detecting alive hosts (pinging).

As a rule, if hosts don’t respond to pings, they are considered dead and therefore not scanned further. This behaviour can be changed in the Preferences dialogue -> Scanning tab. In the same place, you can also select the pinging method:

  • ICMP Echo pinging – This is the same method used by the ping program.
  • ICMP.DLL pinging – This is Windows-only pinging method to compensate for the absence of Raw Sockets.
  • UDP packet pinging – This pinging method is preferred when you don’t have administrative privileges.
  • TCP port probe – This method tries to connect to some TCP port that is unlikely to be filtered (e.g. 80).

Features

  • Very fast (multi-threaded)
  • Scan IP addresses in any range
  • Scan for open ports
  • Cross-platform
  • Portable (doesn’t require installation)
  • Hostname Resolution
  • MAC address capture
  • NetBIOS information gathering
  • Computer Name
  • WorkGroup Name
  • Logged in User
  • Favourite IP ranges
  • Web Server detection
  • Customizable openers
  • Scanning results in:
  • CSV
  • TXT
  • XML
  • IP-Port List

You can download Angry IP Scanner here:

Or read more here.

Getting a Folder Tree Size with PowerShell

PowerShell is a Windows System Admins swiss army knife and there seems to be no limit to the things you can accomplish with it!

It is particularly easy to get the size of a set of folders (e.g. folders within a folder tree) using PowerShell. This is accomplished by getting the total contents size of each directory recursively to an output

Example:

$colItems = Get-ChildItem $startFolder | Where-Object {$_.PSIsContainer -eq $true} | Sort-Object
foreach ($i in $colItems)
{
    $subFolderItems = Get-ChildItem $i.FullName -recurse -force | Where-Object {$_.PSIsContainer -eq $false} | Measure-Object -property Length -sum | Select-Object Sum
    $i.FullName + " -- " + "{0:N2}" -f ($subFolderItems.sum / 1MB) + " MB"
}

Note: This will not include results for any items whic you don’t have read access to.

Ten Handy PowerShell Commands

PowerShell is the command line included with Windows. It is a very handy tool for doing simple tasks without the GUI. In this guide, I’ll show you 10 tips that will improve your Windows Server experience and make your life easier.

Getting a Process

Rather than using the Task Manager or a similar tool, you can use PowerShell to retrieve information about a specific process and kill it, if needed. This will show the process ID (Id ProcessName):

Get-Process ProcessName

Official documentation

Killing a Process

Once you have the process ID of a process, you can kill it:

Stop-Process -id PID

Official documentation

Getting Contents of a File

You can actually get the content of a file (for example a .txt file) and view it in PowerShell:

Get-Content file.txt

Official documentation

Getting Item Information

You can get information about a certain file with the Get-Item command. The cool thing about this is that you can use it to return multiple kinds of data, for example, you can see the last time somebody accessed a file:

$(Get-Item D:\Users\William\Desktop\file.txt).lastaccesstime

Official documentation Continue reading “Ten Handy PowerShell Commands”

Ubiquiti NVR: Upgrading the OS and AirVision Software

nvrUpgrading the Ubiquiti Network Video Recorder (NVR) operating system (Debian) and AirVision recording controller can be a fairly daunting task I’ve you are unfamiliar with the Debian command line interface (CLI) and/or Linux distrobutions in general. In addition, Ubiquiti doesn’t provide a GUI based upgrade option for older NVR software versions (e.g. 2.x) and no upgrade capability for the OS.

This simple outline should help you get the job done.

1. Open a shell session to the NVR appliance:

ssh [email protected](IP Address)

2. Enter the following commands to upgrade your NVR’s Debian OS:
#apt-get update ; apt-get upgrade -y ; apt-get dist-upgrade -y ; apt-get autoremove -y ; apt-get autoclean ; apt-get clean

3. Once complete reboot the NVR:
#reboot

Command Outline:
apt-get update retrieves a new list of software packages from the Debian repository
apt-get upgrade -y downloads and installs all updated software and automatically answers yes to all questions
apt-get dist-upgrade -y installs a new UNIX kernel (when available) and automatically answers yes to all questions
apt-get autoremove -y removes any unused software packages and automatically answers yes to all questions
apt-get autoclean deletes any old software archive files from previous apt-get sessions
apt-get clean deletes any downloaded software archive files from previous apt-get sessions

4. Once the NVR has rebooted re-login via SSH.

5. Install screen for terminal managemement
# apt-get install screen

6. Initiate a screen
# screen

7. Download the latest Debian package:
# wget http://dl.ubnt.com/firmwares/unifi-video/3.1.1/unifi-video_3.1.1~Debian7_amd64.deb

*Note, at the time of posting this is the latest version but check the UniFi Video Software page for the latest version.

8. Purge the current AirVision Software
# sudo apt-get remove –purge airvision
# sudo apt-get purge airvision

9. Initiate the new package install:
# dpkg -i unifi-video_3.1.1~Debian7_amd64.deb

10. Once the process completes you can login to your AirVision controller using http://ip-address:7443/

Internet Explorer 11 – Cannot Download Files

Default installations of Microsoft Internet Explorer 11 on Windows Server 2012 and Windows Server 2012 R2 do not permit files (e.g. .exe) to be downloaded from untrusted websites. An error will occur similar to “Your current security settings do not allow this file to be downloaded.”

By design, Internet Explorer on hardened servers does not permit downloads without modifying the default IE security policy. To modify this (temporarily or permenantly) do as follows:

1. Open Internet Explorer
2. Navigate to the ‘Tools’ menu (top left, cog)
3. Click ‘Internet options’
4. Click the ‘Security’ tab
5. Click ‘Internet’ then ‘Custom Level’
6. In the settings zone, find the ‘Downloads’ heading.
7. Under ‘Downloads’ the ‘File Download’ option should be visible to you. Select Disable.
8. Click OK and Exit. Restart Internet Explorer.

You will now be able to download files from untrusted websites. Please note that it is not recommended to leave this setting in place on production servers.