Changeset 12939


Ignorieren:
Zeitstempel:
15.02.2015 15:42:11 (vor 4 Jahren)
Autor:
er13
Nachricht:
  • rename decode_passwords script to decrypt-fritzos-cfg
  • refs #2558
Ort:
trunk/make
Dateien:
1 bearbeitet
1 verschoben

Legende:

Unverändert
Hinzugefügt
Entfernt
  • trunk/make/callmonitor/callmonitor.mk

    r12930 r12939  
    1 $(call PKG_INIT_BIN, 0ead33770d) 
     1$(call PKG_INIT_BIN, 0c996b3e69) 
    22$(PKG)_SOURCE:=$(pkg)-$($(PKG)_VERSION).tar.xz 
    33$(PKG)_SITE:=git@https://github.com/er13/callmonitor.git 
  • trunk/make/decrypt-fritzos-cfg/files/root/usr/bin/decrypt-fritzos-cfg

    r12933 r12939  
    11#! /bin/sh 
    22# 
    3 # decode_passwords for FRITZ!OS versions > 06.05 
     3# decrypt-fritzos-cfg (aka decode_passwords) for FRITZ!OS versions > 06.05 
    44# 
    55# Copyright (C) 2014 P.Haemmerlein (http://www.yourfritz.de) 
     
    3737# ------ 
    3838# 
    39 #   decode_passwords < {input_data} 
     39#   decrypt-fritzos-cfg < {input_data} 
    4040# 
    4141# The script is designed as a filter using standard input and standard output. 
     
    8181# put into a short wrapper script like this: 
    8282# 
    83 # cat >/var/decode_passwords <<-"LEANANDMEAN" 
     83# cat >/var/decrypt-fritzos-cfg <<-"LEANANDMEAN" 
    8484# >> script code is placed here << 
    8585# LEANANDMEAN 
    86 # chmod 550 /var/decode_passwords 
    87 # [ $(md5sum </var/decode_passwords | sed -n -e 's/^\([0-9a-f]*\).*/\1/p') \ 
     86# chmod 550 /var/decrypt-fritzos-cfg 
     87# [ $(md5sum </var/decrypt-fritzos-cfg | sed -n -e 's/^\([0-9a-f]*\).*/\1/p') \ 
    8888# (cont)  == 39f69aa3fb14198462c45fe56f7ed4cc ] || \ 
    8989# (cont)  echo "Hash difference found, transmission failed." 1>&2 
     
    9191# You can customize the above "wrapper" script with some more arguments. The target 
    9292# file name at the device may be specified as second parameter, default value is 
    93 # '/var/decode_passwords' which will write the script to volatile storage at tmpfs. 
     93# '/var/decrypt-fritzos-cfg' which will write the script to volatile storage at tmpfs. 
    9494# If you'd prefer to do without the final hash check, you can specify *any* item as 
    9595# third argument. If its length is greater than zero, no MD5 check will take place 
     
    129129# that file, if you specify the two values mentioned above as parameters: 
    130130# 
    131 # decode_passwords wlan_key mac_address < input_file 
     131# decrypt-fritzos-cfg wlan_key mac_address < input_file 
    132132# 
    133133# Currently this has been tested to be interoperable between the following 
     
    230230tddef=/var/tmp 
    231231# LAM-EXCLUDE 1 
    232 leanname=/var/decode_passwords 
     232leanname=/var/decrypt-fritzos-cfg 
    233233# 
    234234# here we'll store our temporary files ... 
     
    326326    key="wlan_key" 
    327327    mac="maca" 
    328     decode="decode_passwords" 
     328    decode="decrypt-fritzos-cfg" 
    329329    encoded="username = \"\$\$\$\$GDAC24NUP3BNNQZ2SUWNFP2FH5ZLOA6ORXMYP1UOUEZE2UI3SYXXVVS15SRGNUW1C2I4V2FZLARCYKXO\";\npassword = \"\$\$\$\$WDLEUNJT1IJWZSQBBQMGXXXHTX2FV3ZQYMYCZPJEREFYXQ4CAYIWSXIXRVITC4HSA6AY65IRK5SSOKXO\";" 
    330330    original_key="$(sed -n -e "/^$key/s/^[^\t]*\t\(.*\)/\1/p" <$urenv)" 
Hinweis: Hilfe zur Verwendung der Changeset-Ansicht finden Sie unter TracChangeset.