V2ray for huawei modem [525/936/938]

thanks po gumana na ulit sa modem ko after ko ma-install ang update nyo sir..di na kasi nagko-connect kanina kahit anong config.. maraming salamat po ulit..makakapag youtube na po ulit anak ko sa tv..hehehe
 
sa start up b310 hindi parin magpakita ang portal without manual sir, pasubok po ako sa smart noload sir kung gagana, old version kasi not working
 
Sana boss atong sa update mo lagyan mo ng built-in uninstall at change wan ip
Sample:
"uninstall.sh" located in bin folder
Code:
#!/bin/sh
# Script Created by Jerome Laliag <jeromelaliag@yahoo.com>
# Edit atong
BB='/online/atong/v2ray/bin/busybox'
FIND=`cat /system/etc/autorun.sh | grep 'sh /online/atong/v2ray/bin/run.sh'`
if [ -n "$FIND" ]; then
mount -o remount,rw /system /system
$BB sed -i 's|sh /online/atong/v2ray/bin/run.sh||' /system/etc/autorun.sh
fi
rm -rf /online/atong/
sleep 1
atc AT^RESET > /dev/null 2>&1
exit
"uninstallv2ray.cgi" located in cgi-bin folder
Code:
#!/bin/sh
# Script Created by Jerome Laliag <jeromelaliag@yahoo.com>
# Edit atong
BB='/online/atong/v2ray/bin/busybox'
echo HTTP/1.1 301 Moved Permanently
echo Location: /
echo Content-type: text/plain
echo
case "$REQUEST_METHOD" in
POST)
(
$BB sh /online/atong/v2ray/bin/uninstall.sh
)
;;
*)
esac
"changewanip.cgi" located in cgi-bin folder
Code:
#!/bin/sh
# Script Created by Jerome Laliag <jeromelaliag@yahoo.com>
# Edit atong
echo Content-type: text/plain
echo
atc AT+CFUN=0
atc AT+CFUN=1

Optional lang ito if kung gusto mo ilagay: built-in power off and reboot
Sample:
"poweroff.cgi" located in cgi-bin folder
Code:
#!/bin/sh
# Script Created by Jerome Laliag <jeromelaliag@yahoo.com>
# Edit atong
BB='/online/atong/v2ray/bin/busybox'
echo HTTP/1.1 301 Moved Permanently
echo Location: /
echo Content-type: text/plain
echo
case "$REQUEST_METHOD" in
POST)
(
$BB poweroff -f
)
;;
*)
esac
"reboot.cgi" located in cgi-bin folder
Code:
#!/bin/sh
# Script Created by Jerome Laliag <jeromelaliag@yahoo.com>
# Edit atong
echo HTTP/1.1 301 Moved Permanently
echo Location: /
echo Content-type: text/plain
echo
case "$REQUEST_METHOD" in
POST)
(
reboot
)
;;
*)
esac

For "index.html" Code Buttons
Code:
      <button onclick="javascript:wanipchanger()">Change WAN IP</button>
      <form method="post">
        <button type="submit" formaction="/cgi-bin/reboot.cgi" formmethod="post" onclick="return confirm('Do you want to reboot?')">Reboot</button>
        <button type="submit" formaction="/cgi-bin/poweroff.cgi" formmethod="post" onclick="return confirm('Do you want to poweroff?')">Power Off</button>
        <button type="submit" formaction="/cgi-bin/uninstallv2ray.cgi" formmethod="post" onclick="return confirm('Do you want to uninstall?')">Uninstall</button><br />
      </form>

For "script_atong.js" Code Functions
Code:
function wanipchanger() {
    $.get("/cgi-bin/changewanip.cgi", function (t) {
        alert("Success.")
    })
};
Sana makatulong ito sa update boss.. hahaha..
 
[XX='Power ćP Gals, c: 823831, m: 245236'][/XX] nag eedit lang ako nyan using notepad at inexecute ko ito using adb commands.. pero dapat mayroon ka muna source ng v2ray para mailagay mo yan..
 

About this Thread

  • 4K
    Replies
  • 155K
    Views
  • 478
    Participants
Last reply from:
Fr33doM

Online now

Members online
975
Guests online
1,229
Total visitors
2,204

Forum statistics

Threads
2,271,954
Posts
28,939,244
Members
1,237,928
Latest member
Chunget
Back
Top