turk-dreamworld.com Sitesine Hoşgeldiniz.


4 sonuçtan 1 ile 4 arası
  1. #1
    Vip Member endebar - ait Kullanıcı Resmi (Avatar)
    Üyelik tarihi
    Mar 2011
    Mesajlar
    3.814
    Total 'Thanks' Received by This User :
    13 Bu Konu icin
    4.434 Toplam

    Standart CCcam to Oscam converter script

    ozetle /etc/CCcam.cfg icinde bulunan Cline Nline Lline satırlarını /etc/tuxbox/config/ icinde bulunan oscam.server a ekliyor
    cccam.cfg deki cline nline lline alıyor silmiyor /etc/tuxbox/config icindeki oscam.servera eklliyor /etc/tuxbox/config icinde oscam.server yoksa yeni olusturuyor
    cline nline lline yoksa birsey yapmıyor sadece olanları kullanıyor oscam.serverda yazılı eski bilgileri silmiyor uzerine ekliyor

    sadece tek cline nline lline alıyor 2 tane varsa ustte olanı alıyor son kullanıcıda zaten bir tane vardır birden fazla olan zaten biliyordur nasıl eklendigini gerci eger varsa/yoksa olasılıgıyla 10 cline 10 nline 10 lline varsa eklenir ama script inanılmaz uzun oluyor yaklasık 750 satır eklemek gerekiyor o yuzden tek satırla sınırlı tuttum

    scripti her calıstırdıgınızda CCcam.cfg icindeki cline nline lline varsa oscam.server icine ekler aynı satırı surekli eklememeniz icin sadece 1 kez calıstırın

    open pli open atv de ppanels e .xml ye ekleyerek scripti kumandadan calıstırabilirsiniz
    script ismi CCcamtoOscam.sh
    telnetten
    dos2unix /usr/script/CCcamtoOscam.sh
    chmod 077 dos2unix /usr/script/CCcamtoOscam.sh
    komutlarını verip kullanmaya baslayabilirsiniz

    kolay gelsin


    #!/bin/bash
    # cccam
    awk '/C:/' /etc/CCcam.cfg >> /tmp/cccam.txt
    awk 'NR==1' /tmp/cccam.txt >> /tmp/cccam1.txt
    sed 's/ /&\port/2' /tmp/cccam1.txt >> /tmp/cccam2.txt
    sed -i -e 's/ port/,/g' /tmp/cccam2.txt
    sed -i -e 's/C: /device=/g' /tmp/cccam2.txt
    sed 's/ /&\user=/1' /tmp/cccam2.txt >> /tmp/cccam3.txt
    sed 's/ /&\password=/2' /tmp/cccam3.txt >> /tmp/cccam4.txt
    sed 's/ no *.*//g' /tmp/cccam4.txt >> /tmp/cccam5.txt
    sed 's/\s\+/\n/g' /tmp/cccam5.txt >> /tmp/cccam6.txt
    echo "[reader]" >> /tmp/oscam.txt
    echo "label = cccam" >> /tmp/oscam.txt
    echo "protocol = cccam" >> /tmp/oscam.txt
    awk 'NR=1,3' /tmp/cccam6.txt >> /tmp/oscam.txt
    echo "inactivitytimeout = -1" >> /tmp/oscam.txt
    echo "reconnecttimeout = 30" >> /tmp/oscam.txt
    echo "disablecrccws_only_for = 1811:003311,003315;0500:030B00,032830,032830,04280 0,042820" >> /tmp/oscam.txt
    echo "group = 1" >> /tmp/oscam.txt
    echo "cccversion = 2.1.3" >> /tmp/oscam.txt
    echo "cccwantemu = 1" >> /tmp/oscam.txt
    echo "audisabled = 1" >> /tmp/oscam.txt
    sed -i -e 's/device=/device = /g' /tmp/oscam.txt
    sed -i -e 's/user=/user = /g' /tmp/oscam.txt
    sed -i -e 's/password=/password = /g' /tmp/oscam.txt
    echo "" >> /tmp/oscam.txt
    # newcamd
    awk '/N:/' /etc/CCcam.cfg >> /tmp/newcamd.txt
    awk 'NR==1' /tmp/newcamd.txt >> /tmp/newcamd1.txt
    sed 's/ /&\port/2' /tmp/newcamd1.txt >> /tmp/newcamd2.txt
    sed -i -e 's/ port/,/g' /tmp/newcamd2.txt
    sed -i -e 's/N: /device=/g' /tmp/newcamd2.txt
    sed 's/ /&\user=/1' /tmp/newcamd2.txt >> /tmp/newcamd3.txt
    sed 's/ /&\password=/2' /tmp/newcamd3.txt >> /tmp/newcamd4.txt
    sed 's/ 01 *.*//g' /tmp/newcamd4.txt >> /tmp/newcamd5.txt
    sed 's/\s\+/\n/g' /tmp/newcamd5.txt >> /tmp/newcamd6.txt
    echo "[reader]" >> /tmp/oscam1.txt
    echo "label = newcamd" >> /tmp/oscam1.txt
    echo "protocol = newcamd" >> /tmp/oscam1.txt
    awk 'NR=1,3' /tmp/newcamd6.txt >> /tmp/oscam1.txt
    echo "inactivitytimeout = -1" >> /tmp/oscam1.txt
    echo "reconnecttimeout = 30" >> /tmp/oscam1.txt
    echo "caid = " >> /tmp/oscam1.txt
    echo "group = 1" >> /tmp/oscam1.txt
    echo "audisabled = 1" >> /tmp/oscam1.txt
    sed -i -e 's/device=/device = /g' /tmp/oscam1.txt
    sed -i -e 's/user=/user = /g' /tmp/oscam1.txt
    sed -i -e 's/password=/password = /g' /tmp/oscam1.txt
    echo "" >> /tmp/oscam1.txt
    #camd 3
    awk '/L:/' /etc/CCcam.cfg >> /tmp/camd3.txt
    awk 'NR==1' /tmp/camd3.txt >> /tmp/camd31.txt
    sed 's/ /&\port/2' /tmp/camd31.txt >> /tmp/camd32.txt
    sed -i -e 's/ port/,/g' /tmp/camd32.txt
    sed -i -e 's/L: /device=/g' /tmp/camd32.txt
    sed 's/ /&\user=/1' /tmp/camd32.txt >> /tmp/camd33.txt
    sed 's/ /&\password=/2' /tmp/camd33.txt >> /tmp/camd34.txt
    sed 's/ /&\caid=/3' /tmp/camd34.txt >> /tmp/camd35.txt
    sed 's/ /&\ident=/4' /tmp/camd35.txt >> /tmp/camd36.txt
    sed 's/\s\+/\n/g' /tmp/camd36.txt >> /tmp/camd37.txt
    echo "[reader]" >> /tmp/oscam2.txt
    echo "label = camd3" >> /tmp/oscam2.txt
    echo "protocol = cs357x" >> /tmp/oscam2.txt
    awk 'NR=1,5' /tmp/camd37.txt >> /tmp/oscam2.txt
    echo "inactivitytimeout = -1" >> /tmp/oscam2.txt
    echo "reconnecttimeout = 30" >> /tmp/oscam2.txt
    echo "group = 1" >> /tmp/oscam2.txt
    echo "audisabled = 1" >> /tmp/oscam2.txt
    sed -i -e 's/device=/device = /g' /tmp/oscam2.txt
    sed -i -e 's/user=/user = /g' /tmp/oscam2.txt
    sed -i -e 's/password=/password = /g' /tmp/oscam2.txt
    sed -i -e 's/caid=/caid = /g' /tmp/oscam2.txt
    sed -i -e 's/ident=/ident = /g' /tmp/oscam2.txt
    echo "" >> /tmp/oscam2.txt
    if [[ -n $(find /etc/tuxbox/config/ -name "oscam.server") ]]; then
    echo "" >> /etc/tuxbox/config/oscam.server
    sed -n 1,50p /tmp/oscam.txt >> /etc/tuxbox/config/oscam.server
    sed -n 1,50p /tmp/oscam1.txt >> /etc/tuxbox/config/oscam.server
    sed -n 1,50p /tmp/oscam2.txt >> /etc/tuxbox/config/oscam.server
    dos2unix /etc/tuxbox/config/oscam.server
    else
    mkdir -p /etc/tuxbox/config
    touch /etc/tuxbox/config/oscam.server
    echo "" >> /etc/tuxbox/config/oscam.server
    sed -n 1,50p /tmp/oscam.txt >> /etc/tuxbox/config/oscam.server
    sed -n 1,50p /tmp/oscam1.txt >> /etc/tuxbox/config/oscam.server
    sed -n 1,50p /tmp/oscam2.txt >> /etc/tuxbox/config/oscam.server
    dos2unix /etc/tuxbox/config/oscam.server
    fi
    rm -rf /tmp/*.txt
    wget -O /dev/null -q [Değerli Ziyaretci, linki görmeniz icin bu mesaja cevap yazmanız gerekiyorÜye olmak icin burayı tıklayınız]
    wget -O /dev/null -q [Değerli Ziyaretci, linki görmeniz icin bu mesaja cevap yazmanız gerekiyorÜye olmak icin burayı tıklayınız]
    wget -O /dev/null -q [Değerli Ziyaretci, linki görmeniz icin bu mesaja cevap yazmanız gerekiyorÜye olmak icin burayı tıklayınız]
    wget -O /dev/null -q [Değerli Ziyaretci, linki görmeniz icin bu mesaja cevap yazmanız gerekiyorÜye olmak icin burayı tıklayınız]

    Konu endebar tarafından (11.11.2017 Saat 14:29 ) değiştirilmiştir.
    insan olmak karşındakinin dinine, diline, ırkına bakmadan saygı göstermektir.
    AlıntıAlıntı

  2. Teşekkür edenler:

    yildo (2.04.2022) , usta_399 (26.01.2021) , simazambrosso (10.06.2018) , dayi69 (28.12.2017) , aycan (27.11.2017) , ziadpoor (12.11.2017) , docea37 (12.11.2017) , serif1970 (12.11.2017) , accept (11.11.2017) , 67sefa (11.11.2017) , besir (11.11.2017) , kartal3x (11.11.2017) , SABIR39 (11.11.2017)

  3. #2
    Senior Member simazambrosso - ait Kullanıcı Resmi (Avatar)
    Üyelik tarihi
    Aug 2008
    Bulunduğu yer
    london
    Mesajlar
    201
    Total 'Thanks' Received by This User :
    3 Bu Konu icin
    265 Toplam

    Standart Cevap: CCcam to Oscam converter script

    bu da benden olsun Cronun içine atın 24 saatte bir autostart girin alın size kesintisiz CCcam

    #!/bin/bash
    wget --quiet -O - [Değerli Ziyaretci, linki görmeniz icin bu mesaja cevap yazmanız gerekiyorÜye olmak icin burayı tıklayınız] | grep -o 'C:[^<]*' >>/etc/CCcam.cfg
    awk '/C:/' /etc/CCcam.cfg >> /tmp/cccam.txt
    awk 'NR==1' /tmp/cccam.txt >> /tmp/cccam1.txt
    sed 's/ /&\port/2' /tmp/cccam1.txt >> /tmp/cccam2.txt
    sed -i -e 's/ port/,/g' /tmp/cccam2.txt
    sed -i -e 's/C: /device=/g' /tmp/cccam2.txt
    sed 's/ /&\user=/1' /tmp/cccam2.txt >> /tmp/cccam3.txt
    sed 's/ /&\password=/2' /tmp/cccam3.txt >> /tmp/cccam4.txt
    sed 's/ no *.*//g' /tmp/cccam4.txt >> /tmp/cccam5.txt
    sed 's/\s\+/\n/g' /tmp/cccam5.txt >> /tmp/cccam6.txt
    echo "[reader]" >> /tmp/oscam.txt
    echo "label = cccam" >> /tmp/oscam.txt
    echo "protocol = cccam" >> /tmp/oscam.txt
    awk 'NR=1,3' /tmp/cccam6.txt >> /tmp/oscam.txt
    echo "inactivitytimeout = -1" >> /tmp/oscam.txt
    echo "reconnecttimeout = 30" >> /tmp/oscam.txt
    echo "lb_weight=100" >> /tmp/oscam.txt
    echo "cccmaxhops=10" >> /tmp/oscam.txt
    echo "ccckeepalive=1" >> /tmp/oscam.txt
    echo "group = 1" >> /tmp/oscam.txt
    echo "cccversion = 2.1.3" >> /tmp/oscam.txt
    echo "cccwantemu = 1" >> /tmp/oscam.txt
    echo "audisabled = 1" >> /tmp/oscam.txt
    sed -i -e 's/device=/device = /g' /tmp/oscam.txt
    sed -i -e 's/user=/user = /g' /tmp/oscam.txt
    sed -i -e 's/password=/password = /g' /tmp/oscam.txt
    echo "" >> /tmp/oscam.txt
    # newcamd
    awk '/N:/' /etc/CCcam.cfg >> /tmp/newcamd.txt
    awk 'NR==1' /tmp/newcamd.txt >> /tmp/newcamd1.txt
    sed 's/ /&\port/2' /tmp/newcamd1.txt >> /tmp/newcamd2.txt
    sed -i -e 's/ port/,/g' /tmp/newcamd2.txt
    sed -i -e 's/N: /device=/g' /tmp/newcamd2.txt
    sed 's/ /&\user=/1' /tmp/newcamd2.txt >> /tmp/newcamd3.txt
    sed 's/ /&\password=/2' /tmp/newcamd3.txt >> /tmp/newcamd4.txt
    sed 's/ 01 *.*//g' /tmp/newcamd4.txt >> /tmp/newcamd5.txt
    sed 's/\s\+/\n/g' /tmp/newcamd5.txt >> /tmp/newcamd6.txt
    echo "[reader]" >> /tmp/oscam1.txt
    echo "label = newcamd" >> /tmp/oscam1.txt
    echo "protocol = newcamd" >> /tmp/oscam1.txt
    awk 'NR=1,3' /tmp/newcamd6.txt >> /tmp/oscam1.txt
    echo "inactivitytimeout = -1" >> /tmp/oscam1.txt
    echo "reconnecttimeout = 30" >> /tmp/oscam1.txt
    echo "caid = " >> /tmp/oscam1.txt
    echo "group = 1" >> /tmp/oscam1.txt
    echo "audisabled = 1" >> /tmp/oscam1.txt
    sed -i -e 's/device=/device = /g' /tmp/oscam1.txt
    sed -i -e 's/user=/user = /g' /tmp/oscam1.txt
    sed -i -e 's/password=/password = /g' /tmp/oscam1.txt
    echo "" >> /tmp/oscam1.txt
    #camd 3
    awk '/L:/' /etc/CCcam.cfg >> /tmp/camd3.txt
    awk 'NR==1' /tmp/camd3.txt >> /tmp/camd31.txt
    sed 's/ /&\port/2' /tmp/camd31.txt >> /tmp/camd32.txt
    sed -i -e 's/ port/,/g' /tmp/camd32.txt
    sed -i -e 's/L: /device=/g' /tmp/camd32.txt
    sed 's/ /&\user=/1' /tmp/camd32.txt >> /tmp/camd33.txt
    sed 's/ /&\password=/2' /tmp/camd33.txt >> /tmp/camd34.txt
    sed 's/ /&\caid=/3' /tmp/camd34.txt >> /tmp/camd35.txt
    sed 's/ /&\ident=/4' /tmp/camd35.txt >> /tmp/camd36.txt
    sed 's/\s\+/\n/g' /tmp/camd36.txt >> /tmp/camd37.txt
    echo "[reader]" >> /tmp/oscam2.txt
    echo "label = camd3" >> /tmp/oscam2.txt
    echo "protocol = cs357x" >> /tmp/oscam2.txt
    awk 'NR=1,5' /tmp/camd37.txt >> /tmp/oscam2.txt
    echo "inactivitytimeout = -1" >> /tmp/oscam2.txt
    echo "reconnecttimeout = 30" >> /tmp/oscam2.txt
    echo "group = 1" >> /tmp/oscam2.txt
    echo "audisabled = 1" >> /tmp/oscam2.txt
    sed -i -e 's/device=/device = /g' /tmp/oscam2.txt
    sed -i -e 's/user=/user = /g' /tmp/oscam2.txt
    sed -i -e 's/password=/password = /g' /tmp/oscam2.txt
    sed -i -e 's/caid=/caid = /g' /tmp/oscam2.txt
    sed -i -e 's/ident=/ident = /g' /tmp/oscam2.txt
    echo "" >> /tmp/oscam2.txt
    if [[ -n $(find /etc/tuxbox/config/oscam/ -name "oscam.server") ]]; then
    echo "" >> /etc/tuxbox/config/oscam/oscam.server
    sed -n 1,50p /tmp/oscam.txt >> /etc/tuxbox/config/oscam/oscam.server
    sed -n 1,50p /tmp/oscam1.txt >> /etc/tuxbox/config/oscam/oscam.server
    sed -n 1,50p /tmp/oscam2.txt >> /etc/tuxbox/config/oscam/oscam.server
    dos2unix /etc/tuxbox/config/oscam/oscam.server
    else
    mkdir -p /etc/tuxbox/config
    touch /etc/tuxbox/config/oscam/oscam.server
    echo "" >> /etc/tuxbox/config/oscam/oscam.server
    sed -n 1,50p /tmp/oscam.txt >> /etc/tuxbox/config/oscam/oscam.server
    sed -n 1,50p /tmp/oscam1.txt >> /etc/tuxbox/config/oscam/oscam.server
    sed -n 1,50p /tmp/oscam2.txt >> /etc/tuxbox/config/oscam/oscam.server
    dos2unix /etc/tuxbox/config/oscam/oscam.server
    fi
    rm -rf /tmp/*.txt
    wget -O /dev/null -q [Değerli Ziyaretci, linki görmeniz icin bu mesaja cevap yazmanız gerekiyorÜye olmak icin burayı tıklayınız]
    wget -O /dev/null -q [Değerli Ziyaretci, linki görmeniz icin bu mesaja cevap yazmanız gerekiyorÜye olmak icin burayı tıklayınız]
    wget -O /dev/null -q [Değerli Ziyaretci, linki görmeniz icin bu mesaja cevap yazmanız gerekiyorÜye olmak icin burayı tıklayınız]
    wget -O /dev/null -q [Değerli Ziyaretci, linki görmeniz icin bu mesaja cevap yazmanız gerekiyorÜye olmak icin burayı tıklayınız]
    exit 0
    AlıntıAlıntı

  4. Teşekkür edenler:

    aspoljon (22.03.2022) , usta_399 (26.01.2021) , endebar (29.09.2018)

  5. #3
    Senior Member sarikya - ait Kullanıcı Resmi (Avatar)
    Üyelik tarihi
    Nov 2013
    Mesajlar
    101
    Total 'Thanks' Received by This User :
    0 Bu Konu icin
    6 Toplam

    Standart Cevap: CCcam to Oscam converter script

    nasıl kullanılıyor
    AlıntıAlıntı

  6. #4
    Vip Member endebar - ait Kullanıcı Resmi (Avatar)
    Üyelik tarihi
    Mar 2011
    Mesajlar
    3.814
    Total 'Thanks' Received by This User :
    4 Bu Konu icin
    4.434 Toplam

    Standart Cevap: CCcam to Oscam converter script

    [Değerli Ziyaretci, linki görmeniz icin bu mesaja cevap yazmanız gerekiyorÜye olmak icin burayı tıklayınız]
    bu da oscam.user olusturma scripti malum skylardan dolayı cccam serverlar oscam server olması gerekiyor cok kullanıcısı olan servercılar icin yazdım
    bir seferde 100 kullanıcı olacak
    cccam.cfg dosyalarınızı ve scripti /tmp klasorune atın
    telnetten
    önce
    chmod 0755 /tmp/user_cccamtooscam.sh
    chmod 755 yapın
    sonra
    /tmp/user_cccamtooscam.sh
    komutuyla scripti calıstırın
    /tmp klasorunde oscam.user diye dosya olusturacak user pass yazmayan satırlar olusacak o satırları sonradan silin onları silmiyorum cunku hangi kullanıcılara eklenmis gormeniz icin kontrol amaclı bıraktım

    kolay gelsin
    Konu endebar tarafından (25.04.2019 Saat 18:43 ) değiştirilmiştir.
    insan olmak karşındakinin dinine, diline, ırkına bakmadan saygı göstermektir.
    AlıntıAlıntı

  7. Teşekkür edenler:

    usta_399 (26.01.2021) , gökbörü (26.04.2019) , 67sefa (25.04.2019) , serif1970 (24.04.2019)

 

 

Benzer Konular

  1. cccam+oscam autorestart script OE 2.0 image'ler icindir
    Von satwalker im Forum OE1.6 - OE2.0 Enigma2 Plugins
    Cevaplar: 1
    Son Mesaj: 14.02.2014, 17:12
  2. Cevaplar: 5
    Son Mesaj: 31.08.2010, 22:54

Yetkileriniz

  • Konu Acma Yetkiniz Yok
  • Cevap Yazma Yetkiniz Yok
  • Eklenti Yükleme Yetkiniz Yok
  • Mesajınızı Değiştirme Yetkiniz Yok
  •  

Page generated in 1.713.295.704.11159 seconds with 17 queries Sayfa Boyutu (244895)