Hacking TS File using C/C++

dale_para_bajo

Registered
Messages
646
Listen there are two main type of programmers.

Most are Microsoft Lovers. They pay for those as they want the best. They feel that MSware is the best and nothing else should be use.

Now there are the GNU programmers. WE hate MS crap. As it is always reporting what you are doing, asking for updates, many time you need to pay for what they call the best. And I can write a book on other complains. Now GNU compilers are FREE but NOT error proof. This compilers where in fact from Linux so many weird adaptations where added to make it work in Windows.
So if you go with the GNU way you will have to undesrtand that from time to time you need to adjust the code to meet GNU specific requirements.

Any way, the GNU way is using for the most part MingW. But MingW is slow on updtates so I like tio use TDM-GCC compiler with is base on mingw but is more upto date.

I did wrote a small tutorial in how to sedtup you own FREE GNU IDE.
Code:
http://www62.zippyshare.com/v/hxj8p2nc/file.html

It was build for the project of T2MI/DDT. But show you how to set up CodeBlocks with TDM-GCC + OpenMP ( Multicore programing) + wxwidgtes (Visual MS BLABLA) + OpenCL

No matters what you do you will always need to modify code as even in MS there are many flavors just look your self question. HEHEHEHE
 
Last edited:

srijan20

Registered
Messages
104
Can You Highly Compress CodeBlock:: & Upload it, BECAUSE I Don't Have Much Internet Speed, The File Size is 79MBs
 

srijan20

Registered
Messages
104
Error in Turbo C

Hey, Every Time I use Turbo C, it Displays "Unable to Open 'STDIO.H' in Turbo C"
Turbo C v2.01

I Use the Following Code:
Code:
#include <stdio.h>

main()
{
           printf("I am srijan20");
}
 
Last edited:

dale_para_bajo

Registered
Messages
646
You are amazing. That compiler is one of the first one.

Listen, if you are interested in programing you need to find a way to download a good compiler with IDE. Finding a friend or in a library or school.

No there are small compilers like "lcc" 7meg on win7. But that will not help as you want to code using the latest. Like using -mse2 etc. Plus you want a nice IDE to help you code faster.

I try to compress with 7zip and it goes from 83 megs to 81. Not worth. And you need to download some extra tools.
 

srijan20

Registered
Messages
104
Downloading Source Codes in Zip from GitHub

Hey, Guys,

I have found a secret to download GitHub Source Codes in Zip.

If the SRC link is:
Code:
https://github.com/glenvt18/libdvbcsa

So, Change the Address to:
Code:
https://github.com/glenvt18/libdvbcsa/zipball/master

I tested this & it is Working BEST.
 
Last edited:

dale_para_bajo

Registered
Messages
646
Listen guy I will be honest with you.
You seems like a nice guy. And you want to learn. You just found a hobby that is complicated for a newbie. So you said things that make some here think it is unrelistic.

For example, even when kebien fight with me, he knows, I think he has lots to teach us. But he is from the old school and he like to defend those old good masters. So he question what you can reach.

I on the other hand still think it is a lot for you but, I wonder if you can prove we are wrong. So to me it is Fun to help you as to see how far you can get. I dare you to prove we are wrong. HEHEHEHE. So I need to see you going a litle farther so that we see what you can do.

Since you still here I will try to help you some what more. For compiler I study our situation. The smallest I recoment you is this.

gcc-4.8.1-tdm64-2-core.tar.lzma 2013-10-06 13.0 MB

Now You will not have an IDE. That means you need to compile manually. But for starter that is not bad. That is how many of us learn in the past when IDE where expensive. That is not hard just a few makefiles or the use of dos/win bat files. And you need a good editor. So if you are interested. Here is what you need to do.

*1rst download 7zip 1.3Mb
Code:
http://7-zip.org/a/7z1604-x64.exe

*Editor NotePad++ 2.1Mb
Code:
https://notepad-plus-plus.org/repository/7.x/7.4.1/npp.7.4.1.bin.7z

*Compiler gcc-4.8.1-tdm64-2-core.tar.lzma 2013-10-06 13.0 MB
Code:
https://sourceforge.net/projects/tdm-gcc/files/TDM-GCC%20Old%20Releases/TDM-GCC%204.8%20series/4.8.1-tdm64-2/gcc-4.8.1-tdm64-2-core.tar.lzma/download

*optional but util for easy multicore implementation.
gcc-4.8.1-tdm64-2-openmp.tar.lzma 2013-10-06 128.8 kB
Code:
https://sourceforge.net/projects/tdm-gcc/files/TDM-GCC%20Old%20Releases/TDM-GCC%204.8%20series/4.8.1-tdm64-2/gcc-4.8.1-tdm64-2-openmp.tar.lzma/download

If you do that let me know. I will help you in adjusting makefiles ore creation of bach files.
 

dale_para_bajo

Registered
Messages
646
I do not want to sound like a monologue but I want you to success,

I wen and test installation of this compiler environment. And there are a few more files. Still is no more that 20 megs. here the instructions.

Code:
1) Install 7zip
	a) double click 7z1604-x64.exe, reboot
2) Install Notepad++
	a) Create a folder in:
		C:\Program Files (x86)\Notepad++
	b) double click npp.7.4.1.bin.7z
	c) using 7zip extract it contains to
		C:\Program Files (x86)\Notepad++
	d) Create a Shortcut to desktops of Notepad++.exe.
3) Execute Notepad++ and lets configure it
	a) I do not like interruptions so I disable auto-updater
		[Menu]>Settigs>Prefrerences>MISC.> remove Enable Notepad++ Auto-updater
	b) Or compiler comes from Linux. So many time4s it likes Linux way.  So lets setup
		line Feed as Linux way.
		[Menu]>Settigs>Prefrerences>NewDocument
			select Unix(LF)
	c) If this is your only compiler I suggest you do File Associations.
		[Menu]>Settigs>Prefrerences>File Association
			select c,c++,obj
				click on (.h,.hh.hpp.hxx.c.cpp.cxx.cc & if you like .cxproj.vcproj) use [->] to register
	d) [Menu]>Language>C select C.
	e) Dictionary
		*download "http://ftp.gnu.org/gnu/aspell/w32/Aspell-0-50-3-3-Setup.exe"  1.2Mb
		*download "http://ftp.gnu.org/gnu/aspell/w32/Aspell-en-0.50-2-3.exe"     2.3Mb
		*Run & Install  Aspell-0-50-3-3-Setup.exe 
		*Run & Install  Aspell-en-0.50-2-3.exe
		*Now restart Notepad++ & test Spellchecker
		*[Menu]>Pluggins>Spell-Checker	
4) Installin TDM-GCC-64 Compiler 
	Downloads:
	https://sourceforge.net/projects/tdm-gcc/files/TDM-GCC%20Old%20Releases/TDM-GCC%204.8%20series/4.8.1-tdm64-2/gcc-4.8.1-tdm64-2-c%2B%2B.tar.lzma/download
	https://sourceforge.net/projects/mingw/files/MinGW/Extension/make/make-3.82.90-cvs/make-3.82.90-2-mingw32-cvs-20120902-bin.tar.lzma/download
	https://sourceforge.net/projects/tdm-gcc/files/GNU%20binutils/binutils-2.25-tdm64-1.tar.lzma/download
	https://sourceforge.net/projects/tdm-gcc/files/MinGW-w64%20runtime/_Deprecated/GCC%204.8%20series/mingw64-runtime-v3-tdm64-gcc48-svn6307.tar.lzma/download
	http://www8.zippyshare.com/v/0evi0FCi/file.html 


	a) Create new folder in
		C:\TDM-GCC-64
	b) double click in "gcc-4.8.1-tdm64-2-core.tar.lzma" & open with 7zip. Navegate to inside cotent. extract all inside C:\TDM-GCC-64                   (13Mb)
	b) double click in "make-3.82.90-2-mingw32-cvs-20120902-bin.tar.lzma" & open with 7zip. Navegate to inside cotent. extract all inside C:\TDM-GCC-64     (95k)
	b) double click in "binutils-2.25-tdm64-1.tar.lzma" & open with 7zip. Navegate to inside cotent. extract all inside C:\TDM-GCC-64                     (2.9Mb)
	b) double click in "mingw64-runtime-v3-tdm64-gcc48-svn6307.tar.lzma" & open with 7zip. Navegate to inside cotent. extract all inside C:\TDM-GCC-64    (7.6Mb)
5)  Install optional OpenMP
	a) double click in "gcc-4.8.1-tdm64-2-openmp.tar.lzma" & open with 7zip. Navegate to inside cotent.
	b) extract all inside C:\TDM-GCC-64.  Yes allow file overide of previos installation.
6) Install mising libs( libgcc_s_dw2-1.dll, libintl-8.dll).        http://www8.zippyshare.com/v/0evi0FCi/file.html                                          (224K)                           
	a) unzip and install in C:\TDM-GCC-64\bin
7) Lets setup System Variable.
	a) Step over "MyComputer", right click and select "Advance System Settings"
	b) Select [Enviroment Variable]
	c) In "System Variable" select "path" hit [Edit] 
	d) At the end of your list add ";C:\TDM-GCC-64\bin;
 

dale_para_bajo

Registered
Messages
646
To finish my monologue.

Ok I did the test with aycwabtu. It took me a few long hours. As I forgot how to create make files.

But I did modify a few files of the original too, to make it work. I guess the easy way will be to provide you with my source files. That should get you started in the filed of programing in C. Enjoy.

Code:
http://www61.zippyshare.com/v/mI4p1s5Z/file.html

I run it in a Pentium Phenom quadcore 2.0 gb and it produces only 1.6x10^6!!


To compile after you do the installation. Just open a CMD window on the directory. Easyway is press [Left Shift] and do RightClick on Explore. Selcet Open a CMD WIndows.

Then to compile just type
Code:
mingw32-make --debug

You will create a bunch of files with .o and.d with the executable exe. Test by double clik on the exe.

To Clean
Code:
mingw32-make clean
 
Last edited:

srijan20

Registered
Messages
104
To compile after you do the installation. Just open a CMD window on the directory. Easyway is press [Left Shift] and do RightClick on Explore. Selcet Open a CMD WIndows.

Then to compile just type
Code:
mingw32-make --debug

You will create a bunch of files with .o and.d with the executable exe. Test by double clik on the exe.

Where do I Paste the Source Code with the Bunch of C files. And there is anyway to make a GUI Program using SSEx64?
 

dale_para_bajo

Registered
Messages
646
For name convention it is personal. Your file can be any place you like. I strongly suggest to create a working area directory for ALL your files. Please NO Win7 type directory with spaces etc, In C try not to use variable names or file names with "-" use instead "_".

Lets says for example. For my original
Code:
C:\workdir\c_programing\CSA\aycwabtu\aycwabtuw

I like to keep an order in he directory that orient me.
Then my own files that I will work I will name like:
Code:
C:\workdir\c_programing\CSA\aycwabtu\aycwabtuw
C:\workdir\c_programing\CSA\aycwabtu\aycwabtu_000
C:\workdir\c_programing\CSA\aycwabtu\aycwabtu_001
...
C:\workdir\c_programing\CSA\aycwabtu\aycwabtu.00N

Now As I keep adding I try to erase all binarys then use winrar to compress and save. So in the future then it may look like.

Code:
C:\workdir\c_programing\CSA\aycwabtu\aycwabtuw
C:\workdir\c_programing\CSA\aycwabtu\aycwabtu_003
C:\workdir\c_programing\CSA\aycwabtu\aycwabtu_004
C:\workdir\c_programing\CSA\aycwabtu\aycwabtuw.rar
C:\workdir\c_programing\CSA\aycwabtu\aycwabtu_000.rar
C:\workdir\c_programing\CSA\aycwabtu\aycwabtu_001.rar

See how 1rst 3 are directories las 2 are compress rar file.

See my logic. Saving files often save you big time. As many times we change thing and program BREAKS to never recovery and compile again. Then if that happens you find your latest working copy and continue from there.

Now for Gui is tricky. I use wxWidgets. But there are many FREE options. QT, even old MS windows stiles. All require MORE to Download. And you requested MINIMAL Dowload Installations. AND MORE IMPORTANT, IT will take LOTS of time to learn and use. So if your intention is learn C, PLEASE leave GUI Programing for NEXT Month of Study. Show us 1rst that YOU can program.
 

dale_para_bajo

Registered
Messages
646
Latest part of my C programing

Ok so YOu ask for GUI.

1rst if you go into GUI you spent your nest weeks if not moth into learning.
So try not to get into GUI. And for the most part GUI will use Coputer Resources making the Brute Force Slower.
So yes it does not help.

As I said there are many GUI solutions. The latest are build so that same progra can run in Win, Linux or Android.
Well that is the intention but is is far from doing that. All require Big downloads and a lot of learning.

Now GO WITH THE BASICS.... Yes C is the best answer if you want somehing to work almos anyware for anything.

Gui... Well there is similar aproach in Windows Gui. It is called Win Api. And as you download a FULL Compiler you already have it. Nothing else to download.

Here is a File that include source of a Nice Tutorial in the Net. The link for the tutorial is included.
I also Included a nice Book in PDF.
And I had taken all the samples and make Both CodeBlock projets and Makefile for you No IDE option since you have no download bandwith.

Code:
http://www49.zippyshare.com/v/rik1rdob/file.html

As always compile by opening a CMD window in the folder, and executing "mingw32-make" . Clean with "mingw32-make clean".

Enjoy
 

SatEze

Donating Member
Messages
277
CSA algorithm is the same for almost 20 years,there is no latest,no updates.
Biss key can be found in 1~2 minutes using rainbow tables.
What is your idea of faster than this?
What do you do when you run a TS files through the CSA tool and it doesn't find a Crypt8 key?
 

dvlajkovic

Member
Messages
498
You have 2 options:
1. rec ts file up to 4 GB
2. give up and go on with your life.

If you choose opt.2, next time make sure to start recording ts as soon as the feed is uplinked.
 

SatEze

Donating Member
Messages
277
You have 2 options:
1. rec ts file up to 4 GB
2. give up and go on with your life.

If you choose opt.2, next time make sure to start recording ts as soon as the feed is uplinked.
I see! So in instances like that, it is better to record a large ts file as in option 1, above.:thum:
 

dvlajkovic

Member
Messages
498
1st of all, there are no rules.

The best option is to be prepped: follow media to find out when the event officially starts, and then try a cpl of hrs earlier to scan the sat where the feed is expected to be uplinked to.
Many DSNG crews fire uplink hrs before the event to adjust everything, and the recipient side(s) acknowledge that receiver(s) are locked on and the a/v is there.
That is the best opportunity to catch c8.

Then the feeds often shut down due to expenses (literally: no signal) and will be up again near the official event k.o.
That is when everyone tries to find c8, but it is too late – no c8 will be there, or these caught in are not the ones that will yield cw.
 
Top