Eurocardsharing

Go Back   Eurocardsharing > Sharing receivers > DreamBox > Plugins

Plugins Discussion, TPS Auto Updater at DreamBox forum; I found this on my Collosium image, it may be useful: /var/bin/aes_upd.sh Code: #!/bin/sh #TITLE=Update AES key camd3/gbox/newcamd KEYFILE=/var/keys/camd3.keys current=`grep ...

Reply
 
LinkBack Thread Tools Display Modes
Old
  (#11)
marvin
Special Friends
 
marvin's Avatar
 
Offline
Posts: 476

Level: 20 [♥ Bé-Yêu ♥♥ Bé-Yêu ♥♥ Bé-Yêu ♥]
Life: 0 / 479
Magic: 158 / 15568
Experience: 19%

Thanks: 70
Thanked 170 Times in 119 Posts
Join Date: Nov 2006
14-March-2007, 19:48

I found this on my Collosium image, it may be useful:

/var/bin/aes_upd.sh
Code:
#!/bin/sh 
#TITLE=Update AES key camd3/gbox/newcamd
KEYFILE=/var/keys/camd3.keys


current=`grep "^0500:007C00:0000000000:80:" $KEYFILE | tail -1 | sed -e 's/0500:007C00:0000000000:80://'`
site="http://intruder.prophp.org/aes/aes.php http://autoaes.50webs.com/Tofleboss.html http://autoaes.drivehq.com/Tofleboss.html"

for url in $site
do
      if [ -z $new ]
      then new=`wget -q -O - $url | sed -n 's/ //g; s/.*\([ 0-9a-fA-F]\{16\}\).*\([0-9a-fA-F]\{16\}\).*/\1\2/p'"`
      if [ "${#new}" != 32 ];then new="";fi
      if [ "$new" = "00000000000000000000000000000000"  ];then new="";fi
      fi
done

echo "current = $current"
echo "new     = $new"
if [ "$new" ]               
then
        if [ "$new" != "$current" ]
        then
        echo "working..."

                rest=$new
                aes=
                i=0
                while test $i -le 15
                do
                        i=`expr $i + 1`
                        char=`echo $rest | sed -e "s/\([0-Z][0-Z]\)/\1 /"`
                        oct=`echo $char | awk '{print $1}'`
                        aes=`echo $aes " $oct"`
                        rest=`echo $char | awk '{print $2}'`
                done

                sed -e "s/^T: { 00 7C 00 { .*/T: { 00 7C 00 { $aes }}/" /var/keys/via > /tmp/newvia
                mv /tmp/newvia /var/keys/via
                echo "UPDATED: /var/keys/via"
                
                sed -e "s/007c00:01:.*/007c00:01:`echo $aes`/" /var/scce/tpscrypt > /tmp/tpscrypt
                mv /tmp/tpscrypt /var/scce/tpscrypt 
                echo "UPDATED: /var/scce/tpscrypt"
                
                sed -e "s/0500:007C00:0000000000:80:.*/0500:007C00:0000000000:80:`echo $new`/" /var/keys/camd3.keys > /tmp/newcamd3
                mv /tmp/newcamd3 /var/keys/camd3.keys
                echo "UPDATED: /var/keys/camd3.keys"
             
                                        
               
        else
                echo "Already up to date!"
        fi
else
        echo "ERROR: Could not download new Key!"
fi
   
Reply With Quote
The Following 4 Users Say Thank You to marvin For This Useful Post:
Bacteria (25-March-2007), bitman (14-March-2007), bonuxs (13-April-2007), Eggs_n_Beans (14-March-2007)
Old
  (#12)
p1ppo1
Junior Member
 
p1ppo1's Avatar
 
Offline
Posts: 12

Level: 2 [♥ Bé-Yêu ♥]
Life: 0 / 31
Magic: 4 / 1018
Experience: 25%

Thanks: 9
Thanked 0 Times in 0 Posts
Join Date: Nov 2006
14-March-2007, 22:28

I use pli garnet with gbox 2.1b
i get this error:

Get this error:

Script output:
/bin/sh Can't open
   
Reply With Quote
Sponsored Links
Old
  (#13)
Eggs_n_Beans
No longer active here
 
Eggs_n_Beans's Avatar
 
Offline
Posts: 677

Level: 23 [♥ Bé-Yêu ♥]
Life: 0 / 566
Magic: 225 / 18067
Experience: 67%

Thanks: 248
Thanked 1,628 Times in 377 Posts
Join Date: Jan 2007
Location: SW France
Age: 51
14-March-2007, 22:41

I am sorry but I only supplied the uploaded file link.#I do not personaly use the updater.
Can anybody please help here???
   
Reply With Quote
Old
  (#14)
marvin
Special Friends
 
marvin's Avatar
 
Offline
Posts: 476

Level: 20 [♥ Bé-Yêu ♥♥ Bé-Yêu ♥♥ Bé-Yêu ♥]
Life: 0 / 479
Magic: 158 / 15568
Experience: 19%

Thanks: 70
Thanked 170 Times in 119 Posts
Join Date: Nov 2006
14-March-2007, 23:09

Quote:
Originally Posted by p1ppo1 View Post
I use pli garnet with gbox 2.1b
i get this error:

Get this error:

Script output:
/bin/sh Can't open
Dunno it works here....

telnet into the box..

cd /var/tuxbox/plugins
./DW-Tps-updater.sh

I get

Code:
./DW-Tps-updater.sh    

TPS.bin Update
DW-TEAM-SATMAC-TEAM

Downloading Tps.bin
Connecting to www.dreamworld.vg[208.109.93.55]:80
tps.bin              100% |****************************************************************| 65536       00:00 ETA
Connecting to www.dreamworld.vg[208.109.93.55]:80
tps-keyupdater.txt   100% |****************************************************************|   399       00:00 ETA

Download Test
/tmp/tps.bin

installing Tps.bin
installing OK
removing tps.bin.on /tmp.

====   By DW-SAT-MAC     ====
==== News Update Tps.bin ====
==== BOX NEW Tps-Update  ====
==== BOX/EMU Bitte Neu starten ====
==== Restart the BOX/EMU Pleace ====
==== Tps-update Ok ====

=======================================================
INFO http://www.sat-mac.s6.gmc.to/          
INFO http://www.dreamworld.vg/wbb2/index.php
For the AES thing I wrote.. Paste it into a file called

/var/bin/aes_upd.sh
chmod 755 /var/bin/aes_upd.sh

wait..

I got:
wget: Unable to connect to remote host (209.190.85.230): Connection timed out
current = 4FB4FC9B4A7F44FB05FFBDBB162D6CC8D896F9FE3FFF3624B6 BF49C92D365ED01F097EA97FFF64B65B7EF8FC6E3F7FBFDD36 12E905FEB46C6FFE7EC825906D90
new = 1DD03BD61D4AED136C3A4D1AD31840B8
working...
UPDATED: /var/keys/via
UPDATED: /var/scce/tpscrypt
UPDATED: /var/keys/camd3.keys

Which suggests that the wget command failed to download, but that could be temporary. And is not the end of the work if you already have the file from another source.


"/bin/sh Can't open" would suggest either a problem with the directory it is running in, or /bin/sh doesn't exist (unlikely- as I have it)
   
Reply With Quote
Old
  (#15)
Zeus1
Junior Member
 
Zeus1's Avatar
 
Offline
Posts: 11

Level: 2 [♥ Bé-Yêu ♥]
Life: 0 / 28
Magic: 3 / 919
Experience: 12%

Thanks: 2
Thanked 4 Times in 3 Posts
Join Date: Oct 2006
26-March-2007, 19:19

@all

TPS and gbox dont work together yet.

Only if you use Cccam or mgcamd - TPS are open.

Best Rgds Zeus1
   
Reply With Quote
Old
  (#16)
p1ppo1
Junior Member
 
p1ppo1's Avatar
 
Offline
Posts: 12

Level: 2 [♥ Bé-Yêu ♥]
Life: 0 / 31
Magic: 4 / 1018
Experience: 25%

Thanks: 9
Thanked 0 Times in 0 Posts
Join Date: Nov 2006
27-March-2007, 17:51

Quote:
Originally Posted by Zeus1 View Post
@all

TPS and gbox dont work together yet.

Only if you use Cccam or mgcamd - TPS are open.

Best Rgds Zeus1
Yes mgcamd 1.20 is also fully autoupdate possible.
just switch everyday to france5 and back to multivision.
Then its works !!!!
   
Reply With Quote
Old
  (#17)
alfred_gh
Junior Member
 
alfred_gh's Avatar
 
Offline
Posts: 6

Level: 1 [♥ Bé-Yêu ♥]
Life: 0 / 11
Magic: 2 / 368
Experience: 47%

Thanks: 0
Thanked 1 Time in 1 Post
Join Date: Mar 2007
28-March-2007, 22:43

I think at the moment there is no solution to update multivision keys by using Gbox
   
Reply With Quote
re:
Old
  (#18)
hbml
Donator
 
hbml's Avatar
 
Offline
Posts: 10

Level: 2 [♥ Bé-Yêu ♥]
Life: 0 / 25
Magic: 3 / 780
Experience: 0%

Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Apr 2007
re: - 05-April-2007, 22:15

hmm good
   
Reply With Quote
Old
  (#19)
exit9999
Junior Member
 
exit9999's Avatar
 
Offline
Posts: 5

Level: 1 [♥ Bé-Yêu ♥]
Life: 0 / 8
Magic: 1 / 271
Experience: 34%

Thanks: 0
Thanked 3 Times in 1 Post
Join Date: Jan 2007
07-April-2007, 22:23

where can i dwn? working
   
Reply With Quote
Old
  (#20)
makihariomoke
Junior Member
 
makihariomoke's Avatar
 
Offline
Posts: 2

Level: 1 [♥ Bé-Yêu ♥]
Life: 0 / 0
Magic: 0 / 21
Experience: 2%

Thanks: 0
Thanked 1 Time in 1 Post
Join Date: Mar 2007
09-April-2007, 13:42

Yes, it works great for the Pli images but not for the gemini images! For gemini you better use Satan.
   
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Forum Jump



ECS on RSS ECS on Twitter ECS on Facebook ECS on Youtube
Follow us on:

Powered by vBulletin
Copyright 2002 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
Dreambox