[Çözüldü] Rtmpdump

Başlatan SilverW, 11 Temmuz 2012 - 15:02:05

« önceki - sonraki »

0 Üyeler ve 1 Ziyaretçi konuyu incelemekte.

SilverW

Merhaba arkadaşlar,

Bu başlığı açarken biraz düşündüm çünkü bu başlık altından rtmpdump'u anlatıcağım hemde rtmpdump'u yeni sistemime nasıl kurulucağını sorucağım.

Rtmpdump'u kurmak için yazmak yeterli sudo apt-get install rtmpdump

Kullanımı ise çok basit izliceğiniz tv,program vs linkini bilmiyorsanız

1. rtmpsuckrd

2. rtmpsuck

3. rtmpsuckers


Bu 3 komutu terminale yazdıktan sonra istediğiniz film, tv, dizi vb sitesine girip başlata basmanız ve sonrasında size rtmp linki verecektir

Linki kullanmak için ise yazmanız yeterli olacaktır hemen başlayacaksınız seyretmeyertmpdump -v -r "rtmp://linki...." -o test.mpg

Başka bir yol ise vlc playerle izlemesi  zaten forumda araştırma yaptığımda 1 konu var ve rtmp linkini çalıştıramamışlar vlcde, Vlc Playeri kuruyoruz yazılım merkezinde mevcut sonrasında ise yine yazılım merkezinden "vlc debug" paketini kuruyoruz. Ve en önemlisi sağ üstten ortam ağ akışı değil Ctrl + s, ağ, linkimizi oraya yapıştırıyoruz ve alttan akışın yanındaki ok'a basıp oynat diyoruz ve rtmp yayınımızı keyifle seyrediyoruz..


------------------

Benim sorunum ise rtmpdump'u kuramamam daha doğrusu kendi bilgimle kurdum ama önüme böyle bir hata çıktı root@bt:~# ./rtmpdump
bash: ./rtmpdump: is a directory


beni oku text'inde çalıştırma komutu ./rtmpdump ubuntuda ise rtmpdump veya sudo rtmpdump

Kullandığım dağıtım backtrack 5 rt2 diyiceksiniz kullanma backtrack'ğı ubuntu kullanın ama program vs eklenti geliştiriyoruz ben güvenlik ve *bağlantı işlerine bakıyorum güvenliği sağlamazsak kötü oluyor onun için bu işlemlerinin hepsini backtrack'ta yapmalıyım..


yardımcı olacak arkadaşlara şimdiden teşekkürler...







Kadir Can

Backtrack de sanırım Ubuntu tabanına geçti. Bu nedenle Ubuntu için nasıl açılıyorsa öyle denemenin tavsiye ederim.

SilverW

denemediğim yol kalmadıki. evet ubuntu tabanı ubuntunun paketlerini kullanıyor normalde ubuntu yazılım merkezinden rtmpdump yazdığımda indirebiliyorum ama burda açtığımda rtmpdump çıkmıyor..

furkankalkan

Calistirilabilen dosya neredeyse oraya gidip çalıştırın. Bu arada hala ubuntuyla backtrack arasında ciddi yapısal farklar var.
Lover
twitter.com/furkan_kalkan1

Kadir Can

Çalıştırılabilir dosyanın nerede olduğunu anlamak için whereis rtmpdump komutunu kullanabilirsin. Eğer her seferinde dizin değiştirmek zor geliyorsa $PATH'e ekleyebilirsin.

SilverW

root@bt:~# ^C
root@bt:~# whereis rtmpdump
rtmpdump:
root@bt:~# rtmpdump
rtmpdump: command not found
root@bt:~#






size şöyle anlatayım ozaman ben ".tgz" ile çıkarttım  "benioku" dosyasında make kodu verdi onu girdim başkada birşey yapılmadı dosyanın içinde ise sadece c dosyaları var


bide şu varroot@bt:~# apt-get install rtmpdump
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package rtmpdump is not available, but is referred to by another package.                                                                                                           
This may mean that the package is missing, has been obsoleted, or                                                                                                                   
is only available from another source                                                                                                                                               
E: Package rtmpdump has no installation candidate                                                                                                                                   
root@bt:~# ^C                                                                                                                                                                       
root@bt:~#                                                                                                                                                                         
                   



bitürlü yükleyemedim :S anlamadım nerde hata yapıyorum.

Kadir Can

make komutundan sonra bir de make install komutunu verdikten sonra tekrar bir önceki mesajımda dediklerimi dener misin?

SilverW

root@bt:~/rtmpdump# make
make[1]: Entering directory `/root/rtmpdump/librtmp'
gcc -Wall   -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_OPENSSL  -O2 -fPIC   -c -o rtmp.o rtmp.c
rtmp.c:40:25: error: openssl/ssl.h: No such file or directory
rtmp.c:41:25: error: openssl/rc4.h: No such file or directory
rtmp.c:43: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
In file included from rtmp.c:127:
handshake.h:66:25: error: openssl/sha.h: No such file or directory
handshake.h:67:26: error: openssl/hmac.h: No such file or directory
handshake.h:70:2: error: #error Your OpenSSL is too old, need 0.9.8 or newer with SHA256
In file included from rtmp.c:127:
handshake.h:76: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
In file included from handshake.h:86,
                 from rtmp.c:127:
dh.h:125:24: error: openssl/bn.h: No such file or directory
dh.h:126:24: error: openssl/dh.h: No such file or directory
In file included from handshake.h:86,
                 from rtmp.c:127:
dh.h:128: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
In file included from handshake.h:86,
                 from rtmp.c:127:
dh.h:155: error: expected ')' before 'y'
dh.h:205: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
dh.h:238: error: expected ')' before '*' token
dh.h:272: error: expected ')' before '*' token
dh.h:308: error: expected ')' before '*' token
In file included from rtmp.c:127:
handshake.h:116: error: expected declaration specifiers or '...' before 'RC4_handle'
handshake.h:116: error: expected declaration specifiers or '...' before 'RC4_handle'
handshake.h: In function 'InitRC4Encryption':
handshake.h:118: error: 'SHA256_DIGEST_LENGTH' undeclared (first use in this function)
handshake.h:118: error: (Each undeclared identifier is reported only once
handshake.h:118: error: for each function it appears in.)
handshake.h:120: error: 'HMAC_CTX' undeclared (first use in this function)
handshake.h:120: error: expected ';' before 'ctx'
handshake.h:122: error: 'rc4keyIn' undeclared (first use in this function)
handshake.h:122: error: 'RC4_KEY' undeclared (first use in this function)
handshake.h:123: error: 'rc4keyOut' undeclared (first use in this function)
handshake.h:125: warning: implicit declaration of function 'HMAC_CTX_init'
handshake.h:125: error: 'ctx' undeclared (first use in this function)
handshake.h:125: warning: implicit declaration of function 'HMAC_Init_ex'
handshake.h:125: warning: implicit declaration of function 'EVP_sha256'
handshake.h:126: warning: implicit declaration of function 'HMAC_Update'
handshake.h:127: warning: implicit declaration of function 'HMAC_Final'
handshake.h:127: warning: implicit declaration of function 'HMAC_CTX_cleanup'
handshake.h:132: warning: implicit declaration of function 'RC4_set_key'
handshake.h:118: warning: unused variable 'digest'
handshake.h: In function 'HMACsha256':
handshake.h:269: error: 'HMAC_CTX' undeclared (first use in this function)
handshake.h:269: error: expected ';' before 'ctx'
handshake.h:271: error: 'ctx' undeclared (first use in this function)
handshake.h: In function 'CalculateDigest':
handshake.h:282: error: 'SHA256_DIGEST_LENGTH' undeclared (first use in this function)
handshake.h:283: warning: unused variable 'message'
handshake.h: In function 'VerifyDigest':
handshake.h:297: error: 'SHA256_DIGEST_LENGTH' undeclared (first use in this function)
handshake.h:297: warning: unused variable 'calcDigest'
handshake.h: In function 'HandShake':
handshake.h:703: error: 'RC4_handle' undeclared (first use in this function)
handshake.h:703: error: expected ';' before 'keyIn'
handshake.h:704: error: expected ';' before 'keyOut'
handshake.h:772: warning: implicit declaration of function 'DHInit'
handshake.h:772: warning: assignment makes pointer from integer without a cast
handshake.h:783: warning: implicit declaration of function 'DHGenerateKey'
handshake.h:790: warning: implicit declaration of function 'DHGetPublicKey'
handshake.h:806: error: 'SHA256_DIGEST_LENGTH' undeclared (first use in this function)
In file included from rtmp.c:127:
handshake.h:893: warning: implicit declaration of function 'DHComputeSharedSecretKey'
handshake.h:907: error: 'keyIn' undeclared (first use in this function)
handshake.h:907: error: 'keyOut' undeclared (first use in this function)
handshake.h:907: error: too many arguments to function 'InitRC4Encryption'
handshake.h:847: warning: unused variable 'digestResp'
handshake.h:1049: warning: implicit declaration of function 'RC4'
handshake.h:983: warning: unused variable 'digest'
handshake.h:982: warning: unused variable 'signature'
handshake.h: In function 'SHandShake':
handshake.h:1077: error: 'RC4_handle' undeclared (first use in this function)
handshake.h:1077: error: expected ';' before 'keyIn'
handshake.h:1078: error: expected ';' before 'keyOut'
handshake.h:1160: warning: assignment makes pointer from integer without a cast
handshake.h:1195: error: 'SHA256_DIGEST_LENGTH' undeclared (first use in this function)
handshake.h:1277: error: 'keyIn' undeclared (first use in this function)
handshake.h:1277: error: 'keyOut' undeclared (first use in this function)
handshake.h:1277: error: too many arguments to function 'InitRC4Encryption'
handshake.h:1214: warning: unused variable 'digestResp'
handshake.h:1341: warning: unused variable 'digest'
handshake.h:1340: warning: unused variable 'signature'
rtmp.c: In function 'RTMP_TLS_Init':
rtmp.c:220: warning: implicit declaration of function 'SSL_load_error_strings'
rtmp.c:221: warning: implicit declaration of function 'SSL_library_init'
rtmp.c:222: warning: implicit declaration of function 'OpenSSL_add_all_digests'
rtmp.c:223: error: 'RTMP_TLS_ctx' undeclared (first use in this function)
rtmp.c:223: warning: implicit declaration of function 'SSL_CTX_new'
rtmp.c:223: warning: implicit declaration of function 'SSLv23_method'
rtmp.c:224: warning: implicit declaration of function 'SSL_CTX_set_options'
rtmp.c:224: error: 'SSL_OP_ALL' undeclared (first use in this function)
rtmp.c:225: warning: implicit declaration of function 'SSL_CTX_set_default_verify_paths'
rtmp.c: In function 'RTMP_Init':
rtmp.c:246: error: 'RTMP_TLS_ctx' undeclared (first use in this function)
rtmp.c: In function 'RTMP_Connect1':
rtmp.c:867: warning: implicit declaration of function 'SSL_new'
rtmp.c:867: error: 'RTMP_TLS_ctx' undeclared (first use in this function)
rtmp.c:868: warning: implicit declaration of function 'SSL_set_fd'
rtmp.c:869: warning: implicit declaration of function 'SSL_connect'
rtmp.c: In function 'RTMP_Close':
rtmp.c:3535: warning: implicit declaration of function 'DH_free'
rtmp.c: In function 'RTMPSockBuf_Fill':
rtmp.c:3565: warning: implicit declaration of function 'SSL_read'
rtmp.c: In function 'RTMPSockBuf_Send':
rtmp.c:3608: warning: implicit declaration of function 'SSL_write'
rtmp.c: In function 'RTMPSockBuf_Close':
rtmp.c:3624: warning: implicit declaration of function 'SSL_shutdown'
rtmp.c:3625: warning: implicit declaration of function 'SSL_free'
make[1]: *** [rtmp.o] Error 1
make[1]: Leaving directory `/root/rtmpdump/librtmp'
make: *** [librtmp/librtmp.a] Error 2
root@bt:~/rtmpdump# make install
gcc -Wall   -DRTMPDUMP_VERSION=\"v2.4\"   -O2   -c -o rtmpdump.o rtmpdump.c
make[1]: Entering directory `/root/rtmpdump/librtmp'
gcc -Wall   -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_OPENSSL  -O2 -fPIC   -c -o rtmp.o rtmp.c
rtmp.c:40:25: error: openssl/ssl.h: No such file or directory
rtmp.c:41:25: error: openssl/rc4.h: No such file or directory
rtmp.c:43: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
In file included from rtmp.c:127:
handshake.h:66:25: error: openssl/sha.h: No such file or directory
handshake.h:67:26: error: openssl/hmac.h: No such file or directory
handshake.h:70:2: error: #error Your OpenSSL is too old, need 0.9.8 or newer with SHA256
In file included from rtmp.c:127:
handshake.h:76: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
In file included from handshake.h:86,
                 from rtmp.c:127:
dh.h:125:24: error: openssl/bn.h: No such file or directory
dh.h:126:24: error: openssl/dh.h: No such file or directory
In file included from handshake.h:86,
                 from rtmp.c:127:
dh.h:128: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
In file included from handshake.h:86,
                 from rtmp.c:127:
dh.h:155: error: expected ')' before 'y'
dh.h:205: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
dh.h:238: error: expected ')' before '*' token
dh.h:272: error: expected ')' before '*' token
dh.h:308: error: expected ')' before '*' token
In file included from rtmp.c:127:
handshake.h:116: error: expected declaration specifiers or '...' before 'RC4_handle'
handshake.h:116: error: expected declaration specifiers or '...' before 'RC4_handle'
handshake.h: In function 'InitRC4Encryption':
handshake.h:118: error: 'SHA256_DIGEST_LENGTH' undeclared (first use in this function)
handshake.h:118: error: (Each undeclared identifier is reported only once
handshake.h:118: error: for each function it appears in.)
handshake.h:120: error: 'HMAC_CTX' undeclared (first use in this function)
handshake.h:120: error: expected ';' before 'ctx'
handshake.h:122: error: 'rc4keyIn' undeclared (first use in this function)
handshake.h:122: error: 'RC4_KEY' undeclared (first use in this function)
handshake.h:123: error: 'rc4keyOut' undeclared (first use in this function)
handshake.h:125: warning: implicit declaration of function 'HMAC_CTX_init'
handshake.h:125: error: 'ctx' undeclared (first use in this function)
handshake.h:125: warning: implicit declaration of function 'HMAC_Init_ex'
handshake.h:125: warning: implicit declaration of function 'EVP_sha256'
handshake.h:126: warning: implicit declaration of function 'HMAC_Update'
handshake.h:127: warning: implicit declaration of function 'HMAC_Final'
handshake.h:127: warning: implicit declaration of function 'HMAC_CTX_cleanup'
handshake.h:132: warning: implicit declaration of function 'RC4_set_key'
handshake.h:118: warning: unused variable 'digest'
handshake.h: In function 'HMACsha256':
handshake.h:269: error: 'HMAC_CTX' undeclared (first use in this function)
handshake.h:269: error: expected ';' before 'ctx'
handshake.h:271: error: 'ctx' undeclared (first use in this function)
handshake.h: In function 'CalculateDigest':
handshake.h:282: error: 'SHA256_DIGEST_LENGTH' undeclared (first use in this function)
handshake.h:283: warning: unused variable 'message'
handshake.h: In function 'VerifyDigest':
handshake.h:297: error: 'SHA256_DIGEST_LENGTH' undeclared (first use in this function)
handshake.h:297: warning: unused variable 'calcDigest'
handshake.h: In function 'HandShake':
handshake.h:703: error: 'RC4_handle' undeclared (first use in this function)
handshake.h:703: error: expected ';' before 'keyIn'
handshake.h:704: error: expected ';' before 'keyOut'
handshake.h:772: warning: implicit declaration of function 'DHInit'
handshake.h:772: warning: assignment makes pointer from integer without a cast
handshake.h:783: warning: implicit declaration of function 'DHGenerateKey'
handshake.h:790: warning: implicit declaration of function 'DHGetPublicKey'
handshake.h:806: error: 'SHA256_DIGEST_LENGTH' undeclared (first use in this function)
In file included from rtmp.c:127:
handshake.h:893: warning: implicit declaration of function 'DHComputeSharedSecretKey'
handshake.h:907: error: 'keyIn' undeclared (first use in this function)
handshake.h:907: error: 'keyOut' undeclared (first use in this function)
handshake.h:907: error: too many arguments to function 'InitRC4Encryption'
handshake.h:847: warning: unused variable 'digestResp'
handshake.h:1049: warning: implicit declaration of function 'RC4'
handshake.h:983: warning: unused variable 'digest'
handshake.h:982: warning: unused variable 'signature'
handshake.h: In function 'SHandShake':
handshake.h:1077: error: 'RC4_handle' undeclared (first use in this function)
handshake.h:1077: error: expected ';' before 'keyIn'
handshake.h:1078: error: expected ';' before 'keyOut'
handshake.h:1160: warning: assignment makes pointer from integer without a cast
handshake.h:1195: error: 'SHA256_DIGEST_LENGTH' undeclared (first use in this function)
handshake.h:1277: error: 'keyIn' undeclared (first use in this function)
handshake.h:1277: error: 'keyOut' undeclared (first use in this function)
handshake.h:1277: error: too many arguments to function 'InitRC4Encryption'
handshake.h:1214: warning: unused variable 'digestResp'
handshake.h:1341: warning: unused variable 'digest'
handshake.h:1340: warning: unused variable 'signature'
rtmp.c: In function 'RTMP_TLS_Init':
rtmp.c:220: warning: implicit declaration of function 'SSL_load_error_strings'
rtmp.c:221: warning: implicit declaration of function 'SSL_library_init'
rtmp.c:222: warning: implicit declaration of function 'OpenSSL_add_all_digests'
rtmp.c:223: error: 'RTMP_TLS_ctx' undeclared (first use in this function)
rtmp.c:223: warning: implicit declaration of function 'SSL_CTX_new'
rtmp.c:223: warning: implicit declaration of function 'SSLv23_method'
rtmp.c:224: warning: implicit declaration of function 'SSL_CTX_set_options'
rtmp.c:224: error: 'SSL_OP_ALL' undeclared (first use in this function)
rtmp.c:225: warning: implicit declaration of function 'SSL_CTX_set_default_verify_paths'
rtmp.c: In function 'RTMP_Init':
rtmp.c:246: error: 'RTMP_TLS_ctx' undeclared (first use in this function)
rtmp.c: In function 'RTMP_Connect1':
rtmp.c:867: warning: implicit declaration of function 'SSL_new'
rtmp.c:867: error: 'RTMP_TLS_ctx' undeclared (first use in this function)
rtmp.c:868: warning: implicit declaration of function 'SSL_set_fd'
rtmp.c:869: warning: implicit declaration of function 'SSL_connect'
rtmp.c: In function 'RTMP_Close':
rtmp.c:3535: warning: implicit declaration of function 'DH_free'
rtmp.c: In function 'RTMPSockBuf_Fill':
rtmp.c:3565: warning: implicit declaration of function 'SSL_read'
rtmp.c: In function 'RTMPSockBuf_Send':
rtmp.c:3608: warning: implicit declaration of function 'SSL_write'
rtmp.c: In function 'RTMPSockBuf_Close':
rtmp.c:3624: warning: implicit declaration of function 'SSL_shutdown'
rtmp.c:3625: warning: implicit declaration of function 'SSL_free'
make[1]: *** [rtmp.o] Error 1
make[1]: Leaving directory `/root/rtmpdump/librtmp'
make: *** [librtmp/librtmp.a] Error 2
root@bt:~/rtmpdump#


error veriyor ama :S

Kadir Can

Bu adreste altta gerekli bilgi var.

SilverW

Zaten onları yaptım hep aynı hata..

cagriemer

Your OpenSSL is too old, need 0.9.8 or newer

OpenSSL surumunuz nedir? Bu uygulama derlenmek icin OpenSSL ve zlib'e ihtiyac duyuyormus.

SilverW

#11
root@bt:~# openssl
OpenSSL> version
OpenSSL 0.9.8k 25 Mar 2009
OpenSSL>



zlib'i bilmiyorum kurup deniyeceğim


Mesaj tekrarı yüzünden mesajınız birleştirildi. Bu mesajın gönderim tarihi : 12 Temmuz 2012 - 16:10:11

Yardımlarınız için çok sağolun, sorunu çözdüm