怎么到别人电脑上开3389的端口?
答案:3 悬赏:40 手机版
解决时间 2021-05-19 19:44
- 提问者网友:蓝莓格格巫
- 2021-05-19 07:25
我想开别人的电脑3389的端口连接,但是不知道怎么开。声明下,要用DOS命令开的哦!!
最佳答案
- 五星知识达人网友:山河有幸埋战骨
- 2021-05-19 08:47
我的电脑,的属性。选择高级。然后勾选启用这台电脑的远程桌面就ok了
全部回答
- 1楼网友:过活
- 2021-05-19 10:31
你可以下载个端口扫描工具 像X_SCAN 等 前提你要知道ip 直接扫描就可以 一般这要的扫描工具会被认为是病毒 安装的时候要注意
- 2楼网友:封刀令
- 2021-05-19 09:58
::Mydemo.bat内容如下
@echo off
rem this is Mydemo
rem test in winxp by Mydemo
echo %1 %2 %3 %4 %5 %6 %7 %8 %9|%systemroot%\system32\findstr.exe " [0-9] ">nul&&goto help
echo %1 %2 %3 %4 %5 %6 %7 %8 %9|%systemroot%\system32\findstr.exe /i " ^a ^b ^c ^d ^e ^f ^g ^h ^i ^j ^k ^l ^m ^n ^o ^p ^q ^r ^s ^t ^u ^v ^w ^x ^y ^z ">nul&&goto help
echo %1 %2 %3 %4 %5 %6 %7 %8 %9|%systemroot%\system32\findstr.exe /i " \<-[ers] ">nul&&goto ers
echo %1 %2 %3 %4 %5 %6 %7 %8 %9|%systemroot%\system32\findstr.exe /i " \<-[anop] ">nul&&goto ano
goto help
:ers
%systemroot%\system32\netstat.exe %1 %2 %3 %4 %5 %6 %7 %8 %9
goto end
:ano
%systemroot%\system32\netstat.exe %1 %2 %3 %4 %5 %6 %7 %8 %9>netstat.tmp
type netstat.tmp|%systemroot%\system32\findstr.exe /v "\<127.0.0.1\> 4000"
goto end
:help
rem goto end
echo.
echo Displays protocol statistics and current TCP/IP network connections.
echo.
echo NETSTAT [-a] [-e] [-n] [-o] [-s] [-p proto] [-r] [interval]
echo.
echo -a Displays all connections and listening ports.
echo -e Displays Ethernet statistics. This may be combined with the -s
echo option.
echo -n Displays addresses and port numbers in numerical form.
echo -o Displays the owning process ID associated with each connection.
echo -p proto Shows connections for the protocol specified by proto; proto
echo may be any of: TCP, UDP, TCPv6, or UDPv6. If used with the -s
echo option to display per-protocol statistics, proto may be any of:
echo IP, IPv6, ICMP, ICMPv6, TCP, TCPv6, UDP, or UDPv6.
echo -r Displays the routing table.
echo -s Displays per-protocol statistics. By default, statistics are
echo shown for IP, IPv6, ICMP, ICMPv6, TCP, TCPv6, UDP, and UDPv6;
echo the -p option may be used to specify a subset of the default.
echo interval Redisplays selected statistics, pausing interval seconds
echo between each display. Press CTRL+C to stop redisplaying
echo statistics. If omitted, netstat will print the current
echo configuration information once.
echo.
echo.
:end
1.打开端口:
比如要打开本机21端口,用记事本修改”Mydemo.bat”第15行(先去掉记事本的”自动换行”设置):
type netstat.tmp |%systemroot%\system32\findstr.exe /x "\<127.0.0.1>21"
然后保存,在命令提示符下输入:Mydemo -rs
回车执行结果,打开本机IP地址和21端口;
打开其他端口,请修改为具体的端口.下同.
2.隐藏端口135:
则改为:(操作方法同上)
type netstat.tmp |%systemroot%\system32\findstr.exe /v"\<127.0.0.1>135"
保存后,在命令提示符下输入:Mydemo -na
执行结果则关闭本机IP地址和135端口.
我要举报
如以上问答信息为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯