strange results

Mar 14, 2018
3
0
1610819060423.png

These are some of the results. For a usual "question" like @ipaddress I get as result : 1.
For @enumservers I get some strange characters. There are 2 servers : Windows Server (without domain) and MS SQL Server 2 instances.

None of the machines are encripted.
On another machine with TCMD 21 echoing for @enumservers give me all opened machines (workstations, server, NAS).

I am very confused - I don't know from where to start. I don't see for example TCC.exe as a rule in firewall - when sending a request for the IP of jpsoft.com such action does not need any rule ? As quite all my programs are mentioned in firewall rules.

I have BitDefender Endpoint Security Tools - now with firewall deactivated , advanced anti-exploit deactivated and network protection deactivated I get the same results.

Does anyone have any ideea, please.

thank you
Florin
 
Mar 14, 2018
3
0
Another curiosity : I have "reinstalled" the old TCC 21.01.63 x64 (meaning I just copied the files into a directory named TCMD21) and echoing for @ipaddress[jpsoft.com] I get 104.26.3.71.

On the same computer , under the same configuration. And for TCC 27.00.18 x64 the result is still 1. Does not matter the name of the host.

Florin
 
Apr 2, 2011
1,441
10
54
North Carolina, USA
C:\Users\Public\Desktop\Public Links]ver /r

TCC 25.00.30 x64 Windows 7 [Version 6.1.7601]
TCC Build 30 Windows 7 Build 7601 Service Pack 1
Registered to GALLOWAY-HP

[C:\Users\Public\Desktop\Public Links]echo %@ipaddress[jpsoft.com]
104.26.3.71

[C:\Users\Public\Desktop\Public Links]echo %@ipaddress[www.custombroker.com]
96.47.191.99

[C:\Users\Public\Desktop\Public Links]echo @ipaddress[jpsoft.com]
@ipaddress[jpsoft.com]

[C:\Users\Public\Desktop\Public Links]echo %@ipaddress[jpsoft.com]
104.26.3.71

[C:\Users\Public\Desktop\Public Links]for %i in ( 0 1 2 3 4 5 ) echo %@enumservers[%i,*]
\\GALLOWAY-HP
ECHO is OFF
ECHO is OFF
ECHO is OFF
ECHO is OFF
ECHO is OFF

[C:\Users\Public\Desktop\Public Links]for %i in ( 0 1 2 3 4 5 ) echo %@enumservers[%i,*,SQLSERVER]
ECHO is OFF
ƛ
ECHO is OFF
ECHO is OFF
ECHO is OFF
Ǝ

[C:\Users\Public\Desktop\Public Links]
 
Mar 14, 2018
3
0
I am using Windows 10 (not 7). And I have only two versions to try : 21 and 27.

Digging on I was surprised by a resemblance to cmd.exe. A command like net view /all is not possible without activating SMB 1.0 (which is not recommended at all). So I did it. And after that I also deactivated the firewall (Windows and BitDefender).
Echoing @enumservers on v.21 I get the expected results (like net view /all).
Echoing the same on v.27 I get again some strange characters.
Another remark : on v.21 the members of the network / workgroup are enumerated in order , existing and non-existing.
In v.27 they are not ordered.

I have disabled the SMB 1.0, rebooting the PC and on the same configuration (i.e. firewall disabled) I have tried the same command.
In both versions I've got only strange characters, not even the same in each of the versions. Another difference : in v.21 these characters appears to be repeated, while in the v.27 they are less.
Namely : I have to see tree computers : A,B and C.
In v.21 they are appearing in order A,B,C (echo is off) A,B,C, echo is off (3 times).
In v.27 it seems to be only one , say A. The order / unordered was echo is off, A, echo is off (3 time), A, echo is off (4 times). The total of appearances was 10.

The results are confirmed by using v.21 on another computers (same network).
 
May 20, 2008
11,400
99
Syracuse, NY, USA
I can't tell if @IPALIASES works. All I can get out of it is an empty string. For example, NSLOOKUP says this

Code:
Name:    as-math-barnyard.syr.edu
Address:  128.230.247.202
Aliases:  barnyard.syr.edu

while @IPALIASES says

Code:
d:\tc27> echo %@ipaliases[barnyard.syr.edu]
ECHO is OFF
 
May 20, 2008
11,400
99
Syracuse, NY, USA
I mentioned previously that @IPADDRESS caused v56 and v26 to hang (indefinitely). It can do that in v27 too. It seems to hang about as often as it returns 1.
 

rconn

Administrator
Staff member
May 14, 2008
12,344
149
I am using Windows 10 (not 7). And I have only two versions to try : 21 and 27.

Digging on I was surprised by a resemblance to cmd.exe. A command like net view /all is not possible without activating SMB 1.0 (which is not recommended at all). So I did it. And after that I also deactivated the firewall (Windows and BitDefender).
Echoing @enumservers on v.21 I get the expected results (like net view /all).
Echoing the same on v.27 I get again some strange characters.
Another remark : on v.21 the members of the network / workgroup are enumerated in order , existing and non-existing.
In v.27 they are not ordered.

I have disabled the SMB 1.0, rebooting the PC and on the same configuration (i.e. firewall disabled) I have tried the same command.
In both versions I've got only strange characters, not even the same in each of the versions. Another difference : in v.21 these characters appears to be repeated, while in the v.27 they are less.
Namely : I have to see tree computers : A,B and C.
In v.21 they are appearing in order A,B,C (echo is off) A,B,C, echo is off (3 times).
In v.27 it seems to be only one , say A. The order / unordered was echo is off, A, echo is off (3 time), A, echo is off (4 times). The total of appearances was 10.

The results are confirmed by using v.21 on another computers (same network).

If the browser service (SMB) is disabled, you cannot enumerate servers. No way around that.
 
Similar threads
Thread starter Title Forum Replies Date
vefatica Strange results with CP 1252 Support 12
R strange bug? Support 7
Jesse Heines Strange Line Wrapping Behavior Support 14
M Strange error messages from TCC in FTP copy Support 7
M Another possibly strange remote registry issue Support 5
forbin Strange handling of [nonbright] magenta background (v22) Support 2
N Fixed Strange dir behavior Support 6
vefatica REGDIR, strange error message Support 7
T WAD Strange Unexpected "features" in the Debugger Support 2
P Strange mouse behavior with list Support 2
vefatica Strange tcc.exception.log Support 7
vefatica A strange one Support 0
D Strange DO behavior with /O Support 5
Glenn Bowes Strange text at startup Support 5
Steve Pitts WAD Strange output from DEL of a non-existent directory Support 7
vefatica Big numbers, strange errors Support 1
aedthuio Strange... lpksetup Support 4
CWBillow dir /4 strange Support 2
D Strange issue with FOR loop Support 15
MikeBaas Strange prob with %@replace.. Support 4
vefatica OT: strange files in %TEMP Support 10
Dan Glynhampton Documentation v15 help: Strange links in @INT topic Support 0
R WAD Strange output from "memory" command Support 1
M Yet another strange something re something called "@TCONVERT" Support 8
Roedy How to? Strange colours Support 9
M WAD Strange "Start" misbehavior... Support 10
vefatica Very strange console font corruption Support 3
Steve Pitts Strange problem with FREE Support 10
A strange error in alias Support 9
newgeekorder Debugger IDE - strange tab and parameter behaviour Support 1
Exolon Strange Prompt. Support 6
vefatica Strange folders Support 1
T Strange CPU value Support 3
J Strange error: unset /s Support 14
M Strange behavior... Support 2
CWBillow Strange happenings Support 2
B Strange handling of a .BAT file Support 5
vefatica Strange behavior reloading SHRALIAS sav files. Support 1
J ASSOC / FTYPE strange error message Support 3
D Strange crashes in @CRC32 and @MD5 Support 9
Charles Dye Strange output, here-doc redirection, TYPE, //UnicodeOutput=Yes Support 6
S Strange CHKDSK behavior Support 6
S Strange REN problem - non-English characters Support 3
dcantor Strange status in ACTIVATE command Support 0
vefatica @FILESIZE[] ... allocated ... unexpected results Support 0
Joe Caverly DrawVLine results different in TCMD tab and detached TCC Support 11
W pdir returns diff results between tcc and tcmd - one is an error msg Support 5
rps @FILESIZE[....,a] allocated size not matching Dir results Support 8
thorntonpg @eval function, interesting results any explanation? Support 3
Steve Pitts WAD @MD5 returns incorrect results for strings Support 2

Similar threads