Programming and Coding
Programming and coding tips, help and solutions...
1,890 topics in this forum
-
Make anticheat for unity engine
by er132- 4 replies
- 12.4k views
Hi im trying to code anticheat in c# for unity games But i cant detcted dll injection actually i try loaded dll and moudel but itsnt work becuse its mono inejection Any buddy can help me?
-
- 1 reply
- 4.1k views
I would like to know how most of the software developers create their own licensing key system. I would like to create my own one for my software application. I believe it is something related to cryptography. As I am already using Crypto++ library in my application for MD5 and SHA1 hashing, I would be happy and thankful if someone with expertise explain to me how to do it. NB: I mainly use C++ in my coding. Also, I need it to be related to a hardware number obtained from a USB connected SIM card in the format of 123456789, so the end-user will only send me that number and I will send him back the license key. TIA.
-
- 6 replies
- 5.1k views
Hi guys, I have a small question and dont remember anymore the answer at the moment so maybe you could help quickly. How was it going to load a module / dll into own & other process without to execute the init / run of the dll?Normaly if I am using LoadLibrary / Ex function the dll was running the init = did run on time from EP etc.In my case I wanna load the dll then changing some code in the dll and then it should process the init / EP etc you know what I mean right? In OllyDBG its like if you would enable the option "Break on new module".If Olly stops then I can see whole dll code in memory map and can also set a BP at EP for example to stop there.…
-
HTTPS Autorepsond without Fiddler
by Rekky- 8 replies
- 4.8k views
Hello everyone I want to code program or dll to hook it with application that I've to bypass it atm I'm using Fiddler to auto respond the url requested but I need to keep the Fiddler running all of the time and I don't want that if I could code a program or dll like I said and set it only flag specific url and change it to another custom respond Thank You.
-
how to create empty object in IL?
by abbas- 1 reply
- 3.8k views
hi anyone can help?
-
leftrotate in SSE
by CodeExplorer- 1 reply
- 6.5k views
Having those different ways of doing leftrotate: versus: Which one would you choose? The second one without temporal variable? The speed difference seems to be small - can be a speed calculation bug.
-
MaxSpeedHighLevel in Visual Studio ???
by CodeExplorer- 4 replies
- 4.7k views
I use Visual Studio 2010 Enterprise! In a Visual Studio project barswf_cpu.vcxproj I've saw this <ClCompile> <Optimization>MaxSpeedHighLevel</Optimization> Apparently this value is not valid, https://docs.microsoft.com/en-us/cpp/build/reference/o-options-optimize-code?view=vs-2019 I've replaced that (MaxSpeedHighLevel) with: <ClCompile> <Optimization>MaxSpeed</Optimization> Now compiles, the problem is that speed is of 45 MHashes/second instead of 60 MHashes/seconds (in already compiled exe by someone else) - so the speed is 25% slower. Anyone know what is with MaxSpeedHighLevel ??? And …
-
- 6 replies
- 5.4k views
Detecting Advanced Vector Extensions (AVX) support in Visual Studio??? https://insufficientlycomplicated.wordpress.com/2011/11/07/detecting-intel-advanced-vector-extensions-avx-in-visual-studio/ The problem is that I have Visual Studio without Service Pack so _xgetbv method can't be used! Any other ways to detect if a CPU hash AVX?
-
Unable to use printf in CUDA!
by CodeExplorer- 3 replies
- 4.9k views
Unable to use printf in CUDA! Having this code: __global__ void md5_gpu_bruteforce_thread(unsigned int *data_d, unsigned int *result_d, unsigned int pwd_len, int charset_len) { printf("Hello from block %d, thread %d\n", blockIdx.x, threadIdx.x); Error: C:/BarsWF-master/algo/md5/md5_kernel.cu(77): error : calling a host function("printf") from a __device__/__global__ function("md5_gpu_bruteforce_thread") is not allowed
-
__m128i definition in BarsWF SSE2 project
by CodeExplorer- 1 reply
- 5.1k views
Hi again. BarsWF once again. So the CUDA project I got it working. The SSE2 project is still bogus. I could notice only these warning: 1>LINK : warning C4743: 'union __m128i sse2_nodata' has different size in 'C:\BarsWF-master\md5.cpp' and 'C:\BarsWF-master\global.cpp': 18 and 16 bytes .... 1>LINK : warning C4743: 'union __m128i gpu_mask_2_128' has different size in 'C:\BarsWF-master\algo\md5\algo_md5.cpp' and 'C:\BarsWF-master\global.cpp': 18 and 16 bytes In global.h is defined as fallows: extern global_data *g; //:-[ Not reliable as class member extern __m128i gpu_mask_2_128; extern __m128i CONST_MAX128,sse2_nodata,sse2_lendata,ta…
-
Poco lib in Visual Studio 2010 project
by CodeExplorer- 1 reply
- 4k views
I have a project which includes barswf_cpu - in this one there is no POCO_STATIC; in Preprocessor Definitions in two other subprojects barswf_brook and barswf_cuda there is POCO_STATIC; in Preprocessor Definitions: in those subprojects when it tries to execute: g->log->information("------------------------------"); g->log->information("BarsWF started"); it crushes when tries to allocate memory! msvcr100.dll!operator new(unsigned int size) Line 63 + 0x1a bytes C++ barswf_brook.exe!std::allocator<char>::allocate(unsigned int _Count) Line 187 + 0x12 bytes C++ > barswf_brook.exe!std::basic_string<ch…
-
Visual Studio 2010 include library???
by CodeExplorer- 7 replies
- 4.9k views
Visual Studio 2010 include library: So I once again have a question: I need to include: https://github.com/jmendeth/ccv15/tree/master/libs/poco I found this info: https://docs.microsoft.com/en-us/cpp/build/walkthrough-creating-and-using-a-dynamic-link-library-cpp?view=vs-2019 So the first thing I do is copy "include folder" to D:\BarsWF-master\Poco and that thing seems to work just fine. Now the compiler complains: 1>LINK : fatal error LNK1104: cannot open file 'PocoFoundationmtd.lib' Already tried Project Properties -> Linker -> Additional Library Directories No good result!
-
Any working Ace Extrator on C++ ???
by CodeExplorer- 13 replies
- 4.5k views
Any working Ace Extrator on C++ ??? https://github.com/ipr/qXpkLib https://github.com/ipr/qXpkLib/tree/master/xadACE missing the Extract Entry method! ftp://madmike.ml/Downloads/Software/Archivators/Ace32/UNACESRC/UNACE.C this is in C - DOS and I don't know how to open/compile it https://github.com/droe/acefile/blob/master/acefile.py python Generic tut https://www.roe.ch/acefile Already tried: Anyway: it doesn't work!
-
emplace syntax - error fixing:
by CodeExplorer- 3 replies
- 4.3k views
emplace syntax - error fixing Having this original method: Source code location: https://github.com/cr-marcstevens/sha1_gpu_nearcollisionattacks/blob/master/contrib/program_options.hpp I am trying this: inline void store(const variables_map& src, variables_map& dest) { // append values in src to dest // for (po::variables_map::iterator it = vm.begin(); it != vm.end(); it++) { // for (auto& l_p : src) for (program_options::variables_map::const_iterator l_p = src.begin(); l_p != src.end(); l_p++) { // for each (std::string s in…
-
need help on this regex pattern
by abbas- 3 replies
- 4.2k views
tried some online services saying wrong format blah blah... Spoiler ^"\/Date\((?<ticks>-?[0-9]+)(?:[a-zA-Z]|(?:\+|-)[0-9]{4})?\)\/"
-
- 0 replies
- 3.9k views
hi all currently stuck on FromJason(). googled for hours but every thing i pass to it, raises exception. Spoiler {System.Resources.MissingManifestResourceException: Could not find any resources appropriate for the specified culture or the neutral culture. Make sure ".resources" was correctly embedded or linked into assembly "netutilities" at compile time, or that all the satellite assemblies required are loadable and fully signed. at System.Resources.ManifestBasedResourceGroveler.HandleResourceStreamMissing(String fileName) at System.Resources.ManifestBasedResourceGroveler.GrovelForResourceSet(C…
-
How to get RVA from MethodBase?
by CreateAndInject- 9 replies
- 6k views
How to get the RVA of a method from MethodBase/MethodInfo?
-
Rebuilding PE sections
by Codelove- 1 reply
- 4.8k views
Hello guys, I'm trying to rebuild the PE sections because I want to reorder them. Has someone done this? What are the requirements for that? Some addresses are linked to certain directories and the padding between them? Any possible examples? I'm asking that because usually .reloc section is the last one and when I add a new section, it comes after it.
-
How to handle proxy addresses?
by LCF-AT- 7 replies
- 6.3k views
Hi guys, can anyone tell me how to handle a proxy using windows socket & OpenSSL functions?So I get all working on normal way to call any addresses and to get response but now I tried to do the same but with any proxy address but get some issues.So what is the correct way to handle the proxy address before handle the main request address / header? Example: Proxy: 123.123.123.123:8080 Request to google.com inet_addr, proy address filling peer struct socket, AF_INET, SOCK_STREAM, IPPROTO_IP ; or IPPROTO_TCP connect, s, addr peer, sizeof peer Now on internet and in OpenSSL I see it does call send function... CONNECT google.com:443 HTTP/1.0 ...and after …
-
Harmony Injector Help
by Ahmad_k- 2 replies
- 5.7k views
I was trying Harmony it looks very promising as it is very useful for me. My problem is i can't inject the created dll into my assembly to do some test using MegaDumper. I got (Failed to get Base of kernel32) What i did is just intercept the calculate function inside another form application. Is there any simple application for injecting dll ? DLL Code to inject using Harmony; using System; using System.Reflection; using Harmony_test; using System.Windows.Forms; namespace ClassLibrary1 { public class Class1 { static void Main(string[] args) { var harmony = HarmonyInstance.Create("com.test.test"); h…
-
- 19 replies
- 6.5k views
Hi guys, I have a new small question. I would like to start a new other process from my app using CreateProcess function.Now if the new other app runs I would like to send some datas into the other app like to an edit control. Example: App 1 and App 2.Both can run for itself without to need each other.Now I wanna start App 2 from App 1 = both apps running.Here I would like already to send some datas from App 1 into App 2 on startup like PID / Handle infos etc and if App 2 runs it should check whether infos was send on startup or not to know that App 1 is waiting for some infos from App 2.App 2 should now send infos to App 1 so in my case example it should j…
-
C++ code editing
by schoolboy- 0 replies
- 4.8k views
Hi guys, can you edit that code for me? I don't know C ++, unfortunately. I tried to do it myself but I guess my codes are wrong. #include <stdio.h> int main() { FILE* fp; fp = fopen("test.exe", "r"); if (v0 && (fseek(fp, v0 + 16, 0), fread( & v2, 8u, 1u, fp), !strncmp(&v3, "EA06", 4u))) fclose(fp); }
-
- 3 replies
- 5k views
the problem is i cannot run and getting this error i dont get it at all, really need some help
-
.ICO to Bitmap...
by LCF-AT- 23 replies
- 9.8k views
Hi guys, I have another small question about icons / ico files.Is it possible to load ico files from resources and change them to bitmap icons?I would like to use the "SetMenuItemBitmaps" function but its not working with normal ico files.Normaly I am mostly just using ico files and I dont wanna convert them to another bitmap icons if I need them in this format.So is it doable to load & convert ico files / handle on fly with any xy function (Icon2BitmapIcon etc) and using them with SetMenuItemBitmaps function? greetz
-
- 0 replies
- 4.7k views
#delphi #python #conditional_access #encryption hi everyone, maybe you can help me, about source code DVB-S2(Digital Video Broadcasting) Encryption. like Power Vu, Tanberg, XCrypt, Irdeto 1,2&3, conax in Delphi or Python, i interesting to learn it 😉 thx b4. i have several source like this all about DVB Encryption [Digital System] https://en.m.wikipedia.org/wiki/Conditional_access Indonesian Sattelite Forum & about Dish Pointing https://www.forumsatelit.com FB Group Keyword search to get Firmware Forsat, Forsat Indonesia, Teknisi Parabola, by vendor, product & chipset name Matrix, Tanaka, Getmecom, …