10 Einträge, 1 Seite |
1
2
3
4
5
6
7
8
9
10
11
#! /usr/bin/perl
my @values = (8,0,0,0,65,80,76,45,71,109,98,72,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
my $ssid = '';
for my $val(@values){
$ssid .= chr($val) if($val > 31 && $val < 127);
}
print $ssid,"\n";
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
set objSWbemServices = GetObject("winmgmts:\\.\root\wmi")
set colInstances = objSwbemServices.ExecQuery("SELECT * FROM MSNDis_80211_BSSIList")
for each obj in colInstances
if left(obj.InstanceName, 4) <> "WAN " and right(obj.InstanceName, 8) <> "Miniport" then
for each rawssid in obj.Ndis80211BSSIList
ssid = ""
for i=0 to ubound(rawssid.Ndis80211SSid)
decval = rawssid.Ndis80211Ssid(i)
if (decval > 31 AND decval < 127) then
ssid = ssid & Chr(decval)
end if
next
wscript.echo ssid
next
end if
next
1
2
3
4
5
6
7
8
9
10
11
use strict;
use Win32::OLE('in');
use constant wbemFlagReturnImmediately => 0x10;
use constant wbemFlagForwardOnly => 0x20;
my @computers = ("localhost");
my $objWMIService = Win32::OLE->GetObject("winmgmts:\\\\$computer\\root\\WMI") or die "WMI connection failed.\n";
my $colItems = $objWMIService->ExecQuery("SELECT * FROM MSNdis_80211_BSSIList");
foreach my $objItem (in $colItems) {
print $objItem->{InstanceName};
QuoteAcer WLAN 11g PCMCIA Card - Paketplaner-Miniport
Acer WLAN 11g PCMCIA Card
1
2
Ndis80211SsId: 8,0,0,0,65,80,76,45,71,109,98,72,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0
1
2
3
4
5
6
7
8
9
10
11
#! /usr/bin/perl
my @values = (8,0,0,0,65,80,76,45,71,109,98,72,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
my $ssid = '';
for my $val(@values){
$ssid .= chr($val) if($val > 31 && $val < 127);
}
print $ssid,"\n";
$ssid = pack ('c'.shift (@{[splice (@values, 0, 4)]}), @values);
10 Einträge, 1 Seite |