Last active
August 26, 2018 12:51
-
-
Save feilongfl/d6c6c7b09a574e7f105b8a458f773d63 to your computer and use it in GitHub Desktop.
drcom
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env fish | |
set druid xxxx; | |
set drpasswd xxxx; | |
wget -O- http://192.168.100.200/a70.htm --post-data "DDDDD="$druid"&upass="$drpasswd"&R1=0&R2=&R3=0&R6=0¶=00&0MKKey=123456&buttonClicked=&redirect_url=&err_flag=&username=&password=&user=&cmd=&Login=" | iconv -f gb2312 -t utf-8 | grep -oE "Msg=[0-9]+" | grep -oE "[0-9]+" |
- 安装fish
- 将上面文件保存为dr.fish(别忘了账号密码)
apt install fish
chmod +x ./dr.fish
./dr.fish
#for test
wget -O- www.baidu.com
该方式无需VNC。
学长你好,请问d版哆点在哪下载,具体操作能给个教程吗。我是小白
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
你是CAUC的吧,能请问你一个问题吗?
我该怎么用你这个文件让我的Raspberry在终端中登陆DRCOM?我的Raspberry VNC有问题