Xiaoyi

来自Jack's Lab
(版本间的差异)
跳转到: 导航, 搜索
(以“== Hacking == <source lang=bash> Connect the memory card to a computer via a card reader Create a directory named “test” on the sdcard root Edit file X:\test\eq...”为内容创建页面)
 
(Hacking)
第1行: 第1行:
 
== Hacking ==
 
== Hacking ==
  
<source lang=bash>
+
* Connect the memory card to a computer via a card reader
Connect the memory card to a computer via a card reader
+
* Create a directory named “test” on the sdcard root
Create a directory named “test” on the sdcard root
+
* Edit file X:\test\equip_test.sh with notepad or your favorite text editor.
Edit file X:\test\equip_test.sh with notepad or your favorite text editor.
+
* Add this content:
Add this content:
+
  
 +
<source lang=bash>
 
#!/bin/sh
 
#!/bin/sh
 
# Telnet
 
# Telnet
第18行: 第18行:
 
mv $dr/equip_test.sh $dr/equip_test.sh.moved
 
mv $dr/equip_test.sh $dr/equip_test.sh.moved
 
reboot
 
reboot
 +
</source>
  
Safetly detach sdcard, put it into your camera, it will reboot twice.
+
* Safetly detach sdcard, put it into your camera, it will reboot twice.
  
The login details are:
+
* The login details are:
User: root
+
;;User: root
Password: 1234qwer
+
;;Password: 1234qwer
</source>
+
  
 
<br><br><br><br><br><br><br><br>
 
<br><br><br><br><br><br><br><br>

2017年1月24日 (二) 10:46的版本

Hacking

  • Connect the memory card to a computer via a card reader
  • Create a directory named “test” on the sdcard root
  • Edit file X:\test\equip_test.sh with notepad or your favorite text editor.
  • Add this content:
#!/bin/sh
# Telnet
if [ ! -f "/etc/init.d/S88telnet" ]; then
echo "#!/bin/sh" > /etc/init.d/S88telnet
echo "telnetd &" >> /etc/init.d/S88telnet
chmod 755 /etc/init.d/S88telnet
fi
dr=`dirname $0`
# fix bootcycle
mv $dr/equip_test.sh $dr/equip_test.sh.moved
reboot
  • Safetly detach sdcard, put it into your camera, it will reboot twice.
  • The login details are:
User
root
Password
1234qwer









































个人工具
名字空间

变换
操作
导航
工具箱