Enterprises
Hacker
- Registriert
- 18. September 2013
- Beiträge
- 474
- Reaktionspunkte
- 145
- Punkte
- 103
1. Frage) Wie verhält sich das jetzt mit dem Reader Eintrag in Oscam. Port, Benutzer und Passwort sind frei wählbar oder wird das von dir beim Erstellen von OSEMU vorgegeben? Welche Daten hast du dann verwendet.
2. Frage) Wie verhält sich das mit der SOftcam.key. Ist diese direkt in OSEMU integriert oder muss diese Datei an einem bestimmten Ort auf dem Raspi liegen?
You use the program with the following options:
- -a userassword
- -p portnumber
- -c folder where SoftCam.key is placed
- -b (start in background/daemon mode)
- -v show some debugging info
An example would be:
- /usr/bin/OSEmu -a serverasswd -p 12345 -b
To specifiy the path of SoftCam.Key:
- /usr/bin/OSEmu -a serverasswd -p 12345 -b -c /usr/keys
Bzgl USer und Passwort:
Code:root@OpenWrt:~# /usr/bin/OSEmu Usage: /usr/bin/OSEmu -a <user>:<password> -p <port> [-b -v] -b enables to start as a daemon (background) -v enables a more verbose output (debug output) root@OpenWrt:~#
/usr/bin/OSEmu -a user:passwd -p 54321 [-b -v]
2014/08/01 13:37:12 5B89F8 c 7020HD (0D05&000004/132F/9C): found (2 ms) by OSEMU - ORF1 HD
2014/08/01 13:37:13 5B89F8 c 7020HD (0D05&000004/1330/9C): found (2 ms) by OSEMU - ORF2 HD
2014/08/01 13:37:13 5B89F8 c 7020HD (0D05&000004/33A7/9C): found (2 ms) by OSEMU - ATV2
2014/08/01 13:37:22 5B89F8 c 7020HD (0D05&000004/33AC/9C): found (2 ms) by OSEMU - ATVHD
2014/08/01 13:49:13 5B89F8 c 7020HD (0D05&000004/1330/9C): found (2 ms) by OSEMU - ORF2 HD
2014/08/01 13:49:20 5B89F8 c 7020HD (0500&023800/4331/2A): found (7 ms) by OSEMU - SRF 1 HD
2014/08/01 13:49:22 5B89F8 c 7020HD (0D05&000004/132F/9C): found (2 ms) by OSEMU - ORF1 HD
2014/08/01 13:49:23 5B89F8 c 7020HD (0D05&000004/1330/9C): found (2 ms) by OSEMU - ORF2 HD
2014/08/01 13:49:30 5B89F8 c 7020HD (0500&023800/4331/2A): found (10 ms) by OSEMU - SRF 1 HD
2014/08/01 13:49:32 5B89F8 c 7020HD (0D05&000004/132F/9C): found (2 ms) by OSEMU - ORF1 HD
2014/08/01 13:49:33 5B89F8 c 7020HD (0D05&000004/1330/9C): found (18 ms) by OSEMU - ORF2 HD
2014/08/01 13:49:40 5B89F8 c 7020HD (0500&023800/4332/2A): found (9 ms) by OSEMU - SRF zwei HD
2014/08/01 13:49:42 5B89F8 c 7020HD (0D05&000004/132F/9C): found (2 ms) by OSEMU - ORF1 HD
2014/08/01 13:49:43 5B89F8 c 7020HD (0D05&000004/1330/9C): found (2 ms) by OSEMU - ORF2 HD
root@raspberrypi ~ > /var/emu/osemu/OSEmu.armel -a xxx:xxx -p 22222 -b -v -c /var/keys
[B][COLOR=#ff0000]/var/emu/osemu/OSEmu.armel: invalid option -- 'c'
Usage: /var/emu/osemu/OSEmu.armel -a <user>:<password> -p <port> [-b -v -c <path>]
-b enables to start as a daemon (background)
-v enables a more verbose output (debug output)
-c sets path of SoftCam.Key[/COLOR][/B]
#!/bin/bash
ok=0;
rdir=`pwd`;
tcdir="$rdir/toolchains";
UB=10411611611211558474711497119461031051161041179846991111094711111599971094510110911747798369109117471099711511610111447;
a=( 10010111546104 109100534699 101109117108971161111144699 1011091171089711611111446104
7797107101102105108101 7983691091174699 971011154699 9710111546104 1001011154699
103108111989710811546104 104101108112102117110991161051111101154699
1041011081121021171109911610511111011546104 1091005346104 );
l=( arm_cortex_a9 azbox nslu2open brcm63xx brcm63xx_other cool ppcold ddwrt346 ddwrt410
dreambox_fpu mipsel mipsoe20 powerpc dockstar fonera fritz72xx fritz73xx mca openpli40
openwrt26 openwrt24 openwrt1209aa ppc_eglibc rasb_hard rasb_soft sheevaplug marv_6281
tplink tplink_backfire sh_4 sh4 syn_atom native);
help()
{
echo -e " helpinfo";
echo -e " ########";
echo -e "\n u can use\n";
for i in "${l[@]}"
do
echo -n "$i ";
done
echo -e "\n\n as command line option\n\n"
}
getit()
{
u=`echo "$1" | awk '{ for(i=1;i<=length;i+=2) { if(int(substr($0,i,2)) < 20) { printf("%c",int(substr($0,i,3))) ;i++ } else { printf("%c",int(substr($0,i,2))) }}}; END{print ""}'`;
}
getsource()
{
if [ ! -d emu ]
then
mkdir emu;
else
rm -rf emu;
mkdir emu;
fi
[COLOR=#ff0000]#[/COLOR]cd emu;
[COLOR=#ff0000]svn checkout https://github.com/oscam-emu/OSEmu/trunk emu[/COLOR]
[COLOR=#ff0000]#[/COLOR]getit $UB
[COLOR=#ff0000]#[/COLOR]b=$u;
[COLOR=#ff0000]#[/COLOR]for i in "${a[@]}"
[COLOR=#ff0000]#[/COLOR]do
[COLOR=#ff0000]#[/COLOR] getit $i;
[COLOR=#ff0000]#[/COLOR] wget -q $b$u;
[COLOR=#ff0000]#[/COLOR] [ -f $u ] && echo "have $u" || echo "fail to fetch $u";
[COLOR=#ff0000]#[/COLOR]done
echo "";
}
checksimpleconfig()
{
[ ! -f simplebuild.config ] && echo -e "\nsimplebuild.config is missing exit now\n" && exit;
}
checktcok()
{
[ "$1" == "-help" ] && help && exit;
for i in "${l[@]}"
do
if [ "$i" == "$1" ]
then
if [ "$1" == "native" ]
then
echo -e "\nbuild $i ok";ok=1;
else
if [ ! -d "$tcdir/$i" ]
then
echo -e "\nplease install toolchain with simplebuild"
else
echo -e "\n$i is aviable\n" && ok=1;
configline=`cat simplebuild.config |grep ^$1`;
cbase=`echo $configline |awk '{print $3}' |sed s/\"//g`;
fi
fi
fi
done
}
clear
checksimpleconfig
checktcok $1
if [ "$ok" == "1" ]
then
getsource
else
echo -e "\n WRONG INPUT\n";
help;
exit;
fi
if [ "$1" == "native" ]
then
[COLOR=#ff0000] cd emu;[/COLOR]
make
else
[COLOR=#ff0000]cd emu;[/COLOR]
mv Makefile Makefile.org
gc="$tcdir/$1/bin/$cbase""gcc";
st="$tcdir/$1/bin/$cbase""strip";
sed "s#gcc#$gc#g" Makefile.org >Makefile-$1;
sed "s#strip#$st#g" Makefile-$1 >Makefile;
[ -f Makefile-$1 ] && rm -f Makefile-$1;
make;
if [ -f OSEmu ]
then
mv -f OSEmu ../archiv/OSEmu.$1
fi
cd ..
if [ -d 1emu ]
then
rm -rf emu
fi
fi
clear
cd $rdir
[ -f ./archiv/OSEmu.$1 ] && echo -e "\n OSEmu.$1 is in folder ./archiv\n"
[COLOR=#ff0000]CC = /opt/simplebuild/toolchains/mipsoe20/bin/mipsel-unknown-linux-gnu-gcc
STRIP = /opt/simplebuild/toolchains/mipsoe20/bin/mipsel-unknown-linux-gnu-strip[/COLOR]
CFLAGS=-I.
SRCS = bn_ctx.c bn_lib.c bn_exp.c bn_sqr.c bn_div.c bn_asm.c bn_shift.c bn_word.c bn_add.c bn_mul.c \
aes.c i_cbc.c i_ecb.c i_skey.c mem.c des_enc.c set_key.c des.c md5.c \
helpfunctions.c via3surenc.c emulator.c OSEmu.c
OBJS = $(SRCS:.c=.o)
DEPS = $(SRCS:.c=.d)
BIN = OSEmu
all: OSEmu
-include $(OBJS:.o=.d)
%.o: %.c
$(CC) -c -o $@ $< $(CFLAGS)
$(CC) -MM $(CFLAGS) $*.c > $*.d
OSEmu: $(OBJS)
$(CC) -O2 -o $(BIN) $(OBJS) $(CFLAGS)
$(STRIP) $(BIN)
clean:
rm -rf $(BIN) $(OBJS) $(DEPS)
.PHONY: OSEmu
Wir verwenden Cookies und ähnliche Technologien für folgende Zwecke:
Akzeptieren Sie Cookies und diese Technologien?
Wir verwenden Cookies und ähnliche Technologien für folgende Zwecke:
Akzeptieren Sie Cookies und diese Technologien?