3 Commits af31754573 ... 717c03f120

Autor SHA1 Mensagem Data
  bfgeshka 717c03f120 changes to apps/shell 9 meses atrás
  bfgeshka 1c27e3a266 upd vpngate.py 9 meses atrás
  bfgeshka 299c474f35 no more passwords :) 9 meses atrás
4 arquivos alterados com 29 adições e 9 exclusões
  1. 17 0
      ishell/nas-remount
  2. 2 1
      ishell/vpngate.py
  3. 2 2
      shell/gammaset
  4. 8 6
      shell/winemenu

+ 17 - 0
ishell/nas-remount

@@ -0,0 +1,17 @@
+#! /bin/sh
+
+source ~/.config/secretsrc
+
+sudo umount -lf /mnt/curl
+sudo umount -lf /mnt/volb
+sudo killall curlftpfs
+
+
+IPADDR=192.168.88.4
+MNT_OPT="noatime,nolock,defaults,rsize=4096,wsize=4096,vers=3"
+# MNT_OPT="hard,nofail,noatime,nodiratime,timeo=10,retrans=1,retry=1,nolock,nfsvers=3,proto=udp,_netdev"
+
+sudo curlftpfs -o nonempty,allow_other $SECRET_FTP_AUTH@$IPADDR /mnt/curl
+sudo mount.nfs $IPADDR:/shares/volb /mnt/volb -v -o $MNT_OPT
+
+exit 0

+ 2 - 1
ishell/vpngate.py

@@ -8,7 +8,7 @@ import base64
 serversnum = 30
 profiles = []
 choice = -1
-mirrorlist = [ "https://www.vpngate.net", "http://5.181.235.14:29916", "http://88.218.17.24:20261", "http://138.199.46.86:36667", "http://109.111.243.206:17579", "http://78.142.193.246:33304", "http://163.182.174.159:18358", "http://91.193.75.5:45082"]
+mirrorlist = [ "https://www.vpngate.net", "http://5.181.235.14:29916", "http://88.218.17.24:20261", "http://138.199.46.86:36667", "http://109.111.243.206:17579", "http://78.142.193.246:33304", "http://163.182.174.159:18358", "http://91.193.75.5:45082", "http://103.201.129.226:14684", "http://146.70.205.2:6283", "http://146.70.205.6:34299", "http://62.133.35.246:2265" ]
 reqpart = "/api/iphone/"
 # listurl = "http://www.vpngate.net/api/iphone/"
 ovpnpath = "/tmp/profile.ovpn"
@@ -47,6 +47,7 @@ with open(ovpnpath, 'w') as f:
     f.write( "script-security 2\n" )
     f.write( "up \"" + scriptdir + "/up.sh\"\n" )
     f.write( "down \"" + scriptdir + "/down.sh\"\n" )
+    f.write( "data-ciphers 'AES-128-CBC:AES-256-GCM:AES-128-GCM:CHACHA20-POLY1305'\n" )
 
 # os.system( "sudo openvpn " + runopts + "--config" + ovpnpath )
 os.system( "sudo openvpn " + ovpnpath )

+ 2 - 2
shell/gammaset

@@ -3,12 +3,12 @@
 . $(realpath "$0" | xargs dirname)/../menu/dmenuconf
 
 DLIST="\
+0.7
 0.8
-0.9
 1.0
 1.1
-1.2
 1.3
+1.5
 "
 
 AAA="$(echo -e "$DLIST" | dmenu -i -b -p "Enter gamma: value [0.1 .. 2.0]"  -nb "$DMENUBG" -nf "$DMENUFG" -sb "$DMENUFG" -sf "$DMENUBG" -fn "$DMENUFONT")"

+ 8 - 6
shell/winemenu

@@ -13,6 +13,7 @@ DLIST="\
 anydesk
 irfan
 winecfg
+foobar-x64
 telegram
 winrar
 magnify
@@ -41,12 +42,13 @@ cd $WINEAPPSDIR
 
 case "$AAA"
 {
-	"irfan")    cd ./IrfanView && $WINE_CMD ./i_view32.exe ;;
-	"anydesk")  cd ./anydesk && $WINE_CMD ./AnyDesk.exe ;;
-	"winecfg")  $WINE_CMD winecfg ;;
-	"telegram") cd ./Telegram && $WINE_CMD ./Telegram.exe ;;
-	"winrar")   cd ./WinRAR && $WINE_CMD ./WinRAR.exe ;;
-	"magnify")  cd "./Magnifixer" && $WINE_CMD ./Magnifixer.exe ;;
+	"irfan")      cd ./IrfanView && $WINE_CMD ./i_view32.exe & ;;
+	"anydesk")    cd ./anydesk && $WINE_CMD ./AnyDesk.exe & ;;
+	"winecfg")    $WINE_CMD winecfg & ;;
+	"telegram")   cd ./Telegram && $WINE_CMD ./Telegram.exe & ;;
+	"winrar")     cd ./WinRAR && $WINE_CMD ./WinRAR.exe & ;;
+	"magnify")    cd "./Magnifixer" && $WINE_CMD ./Magnifixer.exe & ;;
+	"foobar-x64") cd ./foobar2000x64 && $WINE_CMD ./foobar2000.exe & ;;
 }
 
 exit 0