Jump to content

Compliance Test Scanner Script aka CTscan

Hello Guys.

 

My Post and Account has been banned from UBNT Forum with less than 16 minutes because this script.

 

So enjoy this Compliance Test Scanner Script. http://pastebin.com/YVnafP48

 

Tested and confirmed working on NanoBeam M5 Firmware version XW.v5.5.6, XW.v5.5.8, XW.v5.5.9 and XW.v5.5.10.

 

Step 1

 

Get here: http://pastebin.com/YVnafP48

Host on your web server.

 

SSH to NanoBeam, and:

 

XW.v5.5.9# wget http://yourWebHostIP/CTscan

XW.v5.5.9# chmod 755 CTscan

XW.v5.5.9# cat rc.poststart

 

#!/bin/sh

# Compliance Test Enable

echo '<option value="511">Compliance Test</option>' >/etc/ccodes.inc

# CTscan Start

/bin/sh /etc/persistent/CTscan auto

 

XW.v5.5.9# save && reboot

or

XW.v5.5.9# cfgmtd -w -p /etc/ && reboot

 

 

or Step 2:

 

SSH to NanoBeam, and:

 

XW.v5.5.9# wget -qO CTscan "http://pastebin.com/download.php?i=YVnafP48" && chmod +x CTscan && ./CTscan enableCT && ./CTscan install && save && reboot

 

 

Share your CTscan experience here.

 

Enjoy!

Share this post


Link to post
Share on other sites

Слишком мощно, чтобы просто поменять страну. Зачем оно надо? Если уж хочется что-то дополнительное в точку доступа по ssh пихать, то достаточно и в конфиге поменять страну на 511.

 

2UbDevNull: Absolutely useless script. We have many more optimal solutions on this forum.

Share this post


Link to post
Share on other sites

Плохо прочёл:

скрипт сканирует эфир в поисках заданного SSID во всём диапазоне с различной шириной канала, если находлит -- коннектится, может быть очень удобен в случае если кто-то залез на твою чавстоту и это было последнее свободное окно такой ширины. Для скрипта не помешал бы scan-list для различной ширины канала.

Также было бы полезно добавить проверку по МАК...

 

IMHO, the script is useful but in very seldom cases. It also would be useful to have a spatial scan-list file with different channels on different bandwidths...

Also could be useful to add an optional check of BSSID.

Edited by NewUse

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.