Programming and Coding
Programming and coding tips, help and solutions...
1,882 topics in this forum
-
How to fetch dynamic JSON file content?
by LCF-AT- 3 replies
- 5.3k views
Hi guys, so I would like to fetch entire datas from a dynamic JSON file but I have some problems to do it to update cookies without to work in browser directly.So some sites using such auto load functions if you do scroll up / down to show the actually content and or you have to click a button to let show more content if present etc you know what I mean right.Now I tried to find out how it works (checking traffic in webconsole) and how I could code something to do same without visiting the site but here I have the problem and dont know how to get entire content.Problem is it works with diffrent cookies which get changed like session and other id cookie entrys which I…
-
- 0 replies
- 4.3k views
Just a quick tutorial ... Mangled_C_C++.rar
-
- 4 replies
- 4.7k views
Hi guys! Me again.. I was trying to write a simple nasm printf program.. I did it.. it looks ok, but the printf is going to someplace in the middle of the binary that is nothing to do with the printf. I would like to ask, if anyone have ti, for some papers about nasm. I know the nasm documentation, but a more pratical (with examples) would be better. Thanks! My code: https://pastebin.com/PYwadQiW Compilation steps: nasm -fobj ./main.asm alink -oPE -entry _start ./main.asm Thanks! Regards.
-
- 5 replies
- 5.2k views
Lol sorry for making 3 threads about help, im a newbie. Anyways I've searched and searched but could not find. I'm trying to make a hwid login and how to get the hwid itself like when u click button and it puts the hwid on clipboard then a downloadstring of the link like host ("http://pastebin/") where it has liek the hwids stored and i can remove one or remove the whole thing ok thx if u can help
-
- 4 replies
- 4.7k views
So basically when I put nothing in the username and pass box It works, but when I put wrong shit, It fails. Does any one know how to fix this login problem for my program? Login Source Code: string test = materialSingleLineTextField1.Text + ":" + materialSingleLineTextField2.Text; if (new WebClient().DownloadString("--CENSORED--").Contains(test)) { MessageBox.Show("Success"); new Form2().Show(); base.Hide(); } else { MessageBox.Show("Failed"); base.Close();
-
- 3 replies
- 6.8k views
How do i make a login form with split char like username and pass with pastebin example "69:savage" like web client stuff.
-
- 3 replies
- 11.2k views
Anti-Debug Time Plugin for OllyDbg V.2 General Information Modern computer programs are more complex in writing and more difficult for reversing. Serious programs have various means of protection against debugging. It prevents application reversing. There are a number of various approaches, like Debug Blocker, Nanomites, others. Measuring time to identify that an application is being debugged becomes the widespread practice lately. The OllyDbg has the «HideOD» and «Hide Debugger» anti-debug plugins, which have no possibility to hide actual time. This causes difficulties in application reversing. Let’s consider the system of debugger identification. The debuggers are ca…
-
- 10 replies
- 7.6k views
Hi guys, I have again a small question you could maybe answer. So I made a new app and main app GUI is a little large and now I thought it would be good idea to create something like a compact GUI too.So I created another smaller Dialog and now I would like to put some controls into this new Dialog from my main GUI dialog.Lets say I have some buttons / box views etc and I wanna show them too in my smaller new dialog too without to create another new buttons you know?So is this possible to do this? Or other example: In my main GUI I have a listbox what does log some datas from a extern source and in my new dialog I wanna show this too without to create a…
-
VirtualQuery dumping manually mapped pages
by big_coder- 0 replies
- 6.4k views
Hello. I'm trying to use VirtualQuery to scan for manually mapped / loaded without LoadLibrary DLL pages inside of a process. I'm scanning between the maximum and minimum application addresses from GetSystemInfo, and increment the current address passed into VirtualQuery each loop itteration by RegionSize from MEMORY_BASIC_INFORMATION; My question is, what checks should I put on MBI allocationbase, state, protect, type etc. in order to find manually mapped pages of the DLL in the process. In the end I want to be able to dump the pages of the .text, .rdata, .data, etc. segments from the process for further analysis.
-
Insert String With Java ASM ?(solved)
by Modify- 1 reply
- 6.9k views
Hi, i need help, code insert only int, how to change and insert string. code: MethodInsnNode call = new MethodInsnNode(Opcodes.INVOKESTATIC, callOwner.name, CALL_NAME, "(I)Ljava/lang/String;", false); // remove (I), show error mn.instructions.set(node, call); mn.instructions.insertBefore(call, getIn(index)); thanks
-
[dnlib] How to use OpCodes.Calli
by MagicArt- 4 replies
- 8.8k views
How to call method using OpCodes.Calli ?
-
How to get memory breakpoint details?
by GautamGreat- 2 replies
- 6.8k views
Hello, I am working on a plugin for Ollydbg, which will be enable and disable breakpoint by a button. So, main problem is getting memory breakpoint details like memory breakpoint size, type and address. Please suggest some methods to get it.
-
CorBindToRuntimeEx and stuff using Delphi
by Kurapica- 3 replies
- 7.4k views
This is an old project, more than 10 years old ! I was doing it for fun and never posted it because It was just for testing and learning purposes, you will see how I explain pointers to myself in the code and I'm sure some people will find this funny Anyway, I posted it today for the benefit of someone who asked me about some stuff on .NET and Delphi. I hope it's useful. Main.rar
-
How to build a analog clock?
by LCF-AT- 13 replies
- 9.3k views
Hi guys, could anybody explain how to build any kind of dynamic graphic illustrations?So how to do this and what do I need to do this? Example: Windows 7 has a little nice analog clock graphic you get to see if you press on the time in the taskbar and now I wanna have / build any similar clock like this but I dont know how I should do this.The first mind I had was to paint a clock picture in any paint app to have the analog clock background (not sure whether this is right) and to show this later in any dialog.As next step I need to build some diffrent clock pointers to show them on this clock anyhow etc.All in all I have no idea how the right way is and thats t…
-
Exception has been thrown by the target of an invocation. Inner Exception: Unexpected Error Occured.
by SameerRaj- 2 replies
- 6.5k views
Exception has been thrown by the target of an invocation. Inner Exception: Unexpected Error Occured. what to do i am creating an object during rutime(Activator.createinstance(type type) but exception is coming please Any Sol
-
Code Not Executing
by SameerRaj- 1 reply
- 7.7k views
public frmProcssTicket(string string_2, Color color_1, bool bool_1, int int_2, int int_3) { Class2.XRoAsQdzvBk9W(); this.string_0 = string_2; this.color_0 = color_1; this.int_0 = int_2; base.Tag = int_2; this.bool_0 = bool_1; this.int_1 = int_3; this.AutoSize = true; base.AutoSizeMode = AutoSizeMode.GrowAndShrink; MessageBox.Show("sda"); // for (int i = 0; i < 3; i++) // { // this.list_0.Add(null); //} MessageBox.Show("duc"); this code running fine b…
-
disable c# MenuItem
by despy- 2 replies
- 13.8k views
an C# exe with no src code,now i want to disable some menuItems with APIs. like this: HMENU hMenu = (HMENU) PostMessage(hWnd, MN_GETHMENU, 0, 0); EnableMenuItem(hMenu,uIdEnableMenultem,MF_DISABLED); ... but it's not work for C# exe.What should I do?
-
Base..ctor
by SameerRaj- 2 replies
- 15.6k views
public Class28() { Class2.XRoAsQdzvBk9W(); this.string_0 = ""; this.string_1 = "0"; this.string_2 = "0"; this.string_3 = ""; this.string_4 = ""; line 8 - base..ctor(); error -identifier expexted } how to remove the error at line 8 and basicaly i have decompile a file and trying to rebuild a proggram but not able to clearly know how to remove this err actually why here method base..ctor is being called?
-
Import table not resolved!
by CodeExplorer- 1 follower
- 19 replies
- 13k views
Import table not resolved! Hi guys, I try to load a exe , x64, unprotected (virgin) file using invoke LoadLibrary,&ModuleLoc anyway import table is not resolved, import table thunks (qwords) are not replaced, have still the orginal unresolved value! Any ideea how to resolve it? Hope I won't have to resolve manually (by coding a import resolver)!!
-
VirtualProtect issue
by GautamGreat- 3 replies
- 6.9k views
Hi, I am coding a dll for patching a vmp target. Everything goes well but when I change the permission of codesection using VirtualProtect api the function failed and program crashed when changing dwords in Codesection. When I change the permission manually through ollydbg then it works. Anyone can explain it why?
-
Kernel Mode VS User Mode
by Aldhard Oswine- 2 replies
- 10.2k views
I think I've not seen a kernel-mode code. What is the difference between a user-mode program and kernel-mode program at code level? int main(){ puts("HW"); } It's simple user-mode code/program, is there something similar for kernel-mode code/program? What is a difference between writing user-mode and kernel-mode program? Are there same APIs, etc.
-
Looking for LZMA lib
by LCF-AT- 14 replies
- 9.3k views
Hi guys, does anyone have any LZMA lib to decompress such code I can use with MASM?So zlib dosent work with LZMA. PS: Or if there is no lib then maybe the dll and function name/s I have to use.On my HDD I found just liblzma.dll & liblzma-5.dll with many export functions like lzma_stream_decoder but I am not sure which functions do decompress.So on the LZMA SDK site I didnt found that function etc and its also again in ccp etc you know.Maybe you can help again a little. Thanks
-
- 3 replies
- 7.8k views
Hi guys, so I have a new small problem I need to fix.The problem is that I use two libs in my project and in both are some same function names used and now I get the error message... error LNK2005: _inflateReset2 already defined in 123.lib(123.obj) ...etc ...both libs are from C dlls. So the first question is how I can add both libs (in MASM) who using some same function names?If possible.So I dont wanna change the function names of one dll and create again a lib you know.So what can I do in that case? Thanks
-
How to read a text line by line / CRLF?
by LCF-AT- 6 replies
- 8.8k views
Hi again, does anyone know any function/s to split a text file (any text of notepad etc) into single lines by CRLF? Example: I have simple textfile which has 10 lines (each line with return at the end / CRLF) and now I read the file into buffer via ReadFile API and now I got the whole text in buffer and now I need to check manually for CRLF at the end or not if not present etc.So is there any simple function/s etc I could use to get a entire line by line back?Maybe there is anything I could use and dont know yet. Thank you
-
How to use FILE_FLAG_DELETE_ON_CLOSE?
by LCF-AT- 5 replies
- 10.2k views
Hi guys, I have a question again.I wanna create a new file via CreateFile + WriteFile which I then wanna execute via CreateProcess API.The problem I have that I dont get it work and always get a Sharing Violation Error on CreateProcess API.I would like to use the flag FILE_FLAG_DELETE_ON_CLOSE so that file gets deleted after handle is closed so that I dont need to handle it by myself anymore.But as I said,CreateProcess API does fail if I dont close the handle from CreateFile before but if I close the handle then the file gets deleted of course.So does anyone know whether there is way to handle it right with using FILE_FLAG_DELETE_ON_CLOSE + CreateProcess after?Creat…