Jump to content
View in the app

A better way to browse. Learn more.

Tuts 4 You

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Programming and Coding

Programming and coding tips, help and solutions...

  1. Perplex
    Started by Perplex,

    I've add Thread Local Storage in C++ project but Exception Handler error, What's the solution? Win32Project14.rar

      • Like
    • 5 replies
    • 8k views
  2. Perplex
    Started by Perplex,

    I needed to C++ library for Reading/Writing PE (adding section / changing icon / changing version) which library is better (stable)?

    • 0 replies
    • 4.7k views
  3. LCF-AT
    Started by LCF-AT,

    Hi guys, need some quick help again.I try to get the handle of controls where the mouse pointer is and used some APIs for this... GetCursorPos,WindowFromPoint at WM_NOTIFY message.So on first check it seems to work but now the problem I have.I use three controls which I wanna catch if mouse does move over these controls to set the focus on them.I use 2 Listviews and one ComboBoxEx32.Its works to compare the handles of both diffrent LVs to check whether foucs is already set or not but it does fail on the ComboBoxEx32 handle so this strange.My code for this looks so... IDC_LISTVIEW equ 1005 IDC_LISTVIEW2 equ 1006 IDC_COMBOBOX equ 1002 ----------------------…

      • Like
    • 2 replies
    • 5.5k views
  4. ASE
    Started by ASE,

    Hello people! I'd really like to learn reverse engineering(without malicious purposes), but i read that to understand truly what i'm doing i need to learn x86 assembly language(for x86 programs on Windows), so...may you give me some advice about what's a good book to learn this language please?

    • 1 reply
    • 6.1k views
  5. Perplex
    Started by Perplex,

    I have a simple VC++ 2015 project but I can not compile it, It seems the VC++ 2015 has bug. Compile-time error Error C1083 Cannot open precompiled header file: 'Debug\Win32Project12.pch': No such file or directory Win32Project12.rar

    • 0 replies
    • 5.7k views
  6. udg
    Started by udg,

    EDIT maybe this thread should be moved into another sub forum? not sure i'm currently programing a Shader Editor Tool to create on the fly own GLSL Shaders. Of course Shaders are moving and been animated in that tool. It is possible to manipulate or rewrite or start from the scratch with a brand new GLSL Shader. Shader Tool Screenshot: Video: https://www.youtube.com/watch?v=pcqRxk3kzOU&feature=youtu.be no helpfile yet. the video should explain the "how to" after all it is possible to do some pre work for later Demo and Cracktro Coding. you can write your own GLSL Shader on the fly and export 'em for PureBasic Demo usage as…

    • 0 replies
    • 8.5k views
  7. LCF-AT
    Started by LCF-AT,

    Hi guys, I need some little help again.So I need to build a processlist to get shwon all running processes & to choose any process to read infos / change infos inside etc.Now the problem is that I dont get access to all running process from my system using OpenProcess API with PROCESS_ALL_ACCESS flag.So for almost the half processes I dont get access and get access denied back in eax.How to get access to all processes?OpenProcess API with that flag seems to be not enough in that case. greetz

      • Like
    • 7 replies
    • 8.8k views
  8. Sh4DoVV
    Started by Sh4DoVV,

    Hi friends how to use SCSI_PASS_THROUGH_DIRECT structure in Masm ? i want read disk structure with this structure i have vb6 source , but i can not convert it to masm

    • 6 replies
    • 7.8k views
  9. MindSystem
    Started by MindSystem,

    Hi everybody, that was a long time that i didn't try to code anything. So sorry if there're stupid mistakes in my code. I try to have an assembly that modify itself at runtime For example, all Nop opcode becomes Ret opcode (don't try to find logic ) So i inject a method in the .cctor of the assembly. Here's the code : Assembly currentAssembly = Assembly.GetExecutingAssembly(); Type type = currentAssembly.GetType(); foreach(MethodInfo method in type.GetMethods()) { RuntimeHelpers.PrepareMethod(method.MethodHandle); byte[] iLAsByteArray = method.GetMethodBod…

    • 1 reply
    • 7k views
  10. LCF-AT
    Started by LCF-AT,

    Hi guys, I am looking for any API hook code / lib for MASM.So just wanna ask whether there is something to get or not.I cant find for example the MinHook lib but only for C++ again and not for MASM and before I start to write something by myself I do better ask before so maybe I can save the work for this.Maybe you know something I could use for MASM if there is something out. Thank you

      • Like
    • 12 replies
    • 8.4k views
  11. kb432
    Started by kb432,

    How to Get Twitter, Facebook chat messages using C,C++ ? Thanks

    • 9 replies
    • 9.6k views
  12. Aldhard Oswine
    Started by Aldhard Oswine,

    I'm learning how C/C++ codes are translated into the assembly language by different compilers. I have following code: #include <cstdio> class Pie { double z; }; int main(){ Pie a = Pie(); Pie v = Pie(); Pie d = a; Pie b = Pie(); } Following is generated by GCC -m32 without optimization: main: push ebp mov ebp, esp push ecx sub esp, 32 lea ecx, [ebp+8] fldz fstp QWORD PTR [ebp-12] fldz fstp QWORD PTR [ebp-20] fld QWORD PTR [ebp-12] fstp QWORD PTR [ebp-28] fldz fstp QWORD PTR [ebp-36] …

    • 3 replies
    • 6.3k views
  13. Aldhard Oswine
    Started by Aldhard Oswine,

    Is there any book or articles about how C/C++ code is translated into assembly code? like how classes or structs, pointers, etc. are translated into an assembly code

      • Like
    • 3 replies
    • 6.7k views
  14. LCF-AT
    Started by LCF-AT,

    Hi guys, so today I wanna ask some questions about subclassing again.So I thought I would know how to subclass correctly but before a few days I got some problems and now I think I dont know how to subclass correctly.So I have following problem now. I just created a dialog window and in this window to create just a simple static control and this I wanna subclass.So I just used CreateWIndowEx API to create static and right after this I used SetWindowLong API with the handle I got before for the static... invoke CreateWindowEx,0,chr$("STATIC"),NULL,WS_CHILD or WS_VISIBLE ,20, 20,200, 100,hWnd, 0,hInstance, 0 mov hWndStatic,eax invoke SetWindowLong,hW…

      • Like
    • 42 replies
    • 28.4k views
  15. Avenger
    Started by Avenger,

    i made anti decompiler for my protector in other word IL codes is true but decompiler can't decompile it but my app have an exception exception : "Common Language Runtime detected an invalid program." how can i ignore the exception?

    • 0 replies
    • 7.2k views
  16. Pushad
    Started by Pushad,

    i create a loader in vb6 and it work but in purebasic not working this in vb6 Dim ProcExecS As Long ProcExecS = CreateProcess("File.exe", ByVal 0&, ByVal 0&, ByVal 0&, 1&, NORMAL_PRIORITY_CLASS, ByVal 0&, sNull, sInfo, pInfo) If ProcExecS Then WriteProcessMemory pInfo.hProcess, &H47DBF4, &HEB19, 2, 0& WriteProcessMemory pInfo.hProcess, &H47DBF4 + 2, &H9090, 2, 0& WriteProcessMemory pInfo.hProcess, &H47DBF4 + 4, &H9090, 2, 0& CloseHandle pInfo.hProcess End If this in PB ProcExecS = CreateProcess_("File.exe", $0, #NUL, #NUL, #False, NORMAL_PRIORITY_CLASS, #NUL, #NUL, @StartInfo, @ProcessInfo) If ProcEx…

      • Like
    • 3 replies
    • 5.4k views
  17. JustAGuy
    Started by JustAGuy,

    How do I rewrite this code into high level language to have 4fa1 as a result. MOV EAX, 0x4ea1 MOV EDX. 0x8d4f OR AH, DL EAX = 0x4fa1 my half-solution so far 1. (a >> 8) = 0x4e 2. (d && 0xff) = 0x4f 3. a | d a = 0x4f how to make variable a = 0x4fa1 ? I understand what's wrong but have no idea how to fix it.

      • Like
    • 2 replies
    • 5.4k views
  18. Yattering
    Started by Yattering,

    This is simple VM engine for Win32 x86 code virtualize, what can replace some machine command by own equal VM commands, so protected code can't run without external VM Engine. This project is only proof of concept, it be written for educational purposes. So, you can use it for fornication AV`s, reversers or FBI Example of use: Assembly litsing: ; SEH based VM Engine by Yattering, 2016 ; e-mail: yattering (at) sigaint (d0t) org ; jabber: yattering (at) xmpp (d0t) jp format MS COFF include 'sehvm.inc' extrn '__imp__MessageBoxA@16' as MessageBoxA:dword extrn '_exception_handler' as _exception_handler public _main section '.text' code readable executable _m…

    • 0 replies
    • 8.3k views
  19. Amer
    Started by Amer,

    Most of us know there is one ID for each process, actually no, there is more than one. Very Simple and new for some users: 1- How many PID ( Process Identifier ) for each process? 2- Why windows task listing methods or enumerating methods deal with one PID (the first one of them) ? Regards Amer

      • Like
    • 31 replies
    • 14.4k views
  20. LCF-AT
    Started by LCF-AT,

    Hi guy, I have only a short simple question.So I am working on Olly 1 plugin and now I see a problem about how to get the base of the file which was loaded in Olly.Just have seen this now during testing a dll file.So first I tried to use the Plugingetvalue API with VAL_MAINBASE paramter but there I get result 0 back if I have loaded a dll.So where can I catch the given base of the loaded process?On any ODBG export or is there any other Olly API etc? Thanks

      • Like
    • 6 replies
    • 9k views
  21. abhi93696
    Started by abhi93696,

    Hi everyone As the title depicts all!! Anyone willing to share his/her experience regarding this. All suggestions r welcomed!! Thank u in advance!

      • Like
    • 2 replies
    • 5.2k views
  22. Jasi2169
    Started by Jasi2169,

    .plt:002F1418 ; Processor : ARM .plt:002F1418 ; ARM architecture: ARMv7 .plt:002F1418 ; Target assembler: Generic assembler for ARM .plt:002F1418 ; Byte sex : Little endian i tried looking everywhere ,could anybody put some information on shared library headers , .so libs i actually need for the the processors we have ,dont know which bit defines what but i know 62 is for arm64 EDIT :-got the thing https://opensource.apple.com/source/dtrace/dtrace-90/sys/elf.h here for other people as well

    • 0 replies
    • 4.4k views
  23. CodeExplorer
    Started by CodeExplorer,

    HackChina.com - Open Source Projects Search Engine Open Source Projects Search Engine Link: />http://www.hackchina.com/dlpre.php?lang=en&id=26873

    • 1 reply
    • 26.8k views
  24. LCF-AT
    Started by LCF-AT,

    Hi guys, need again some help.I wanna access the internet again with specific set Header datas but this with WinInet functions.So before I always used WinSock or WinInet with InternetOpenUrl API and all was going good.But as I said I wanna send specific header datas and this I cant do with InternetOpenUrl API and have to use HttpOpenRequest / HttpAddRequestHeaders & HttpSendRequest APIs but I dont get it work. Example: https://google.com/imghp GET https://www.google.com/imghp HTTP/1.1 Host: www.google.com Connection: close User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1) TEST1 BYTE "Host: www.google.com", 13, 10 BYTE "…

      • Like
    • 7 replies
    • 10.4k views
  25. drov
    Started by drov,

    Hello, I am currently working on a paper on uac bypass I would like to show a proof of concept as well and of course I want to code it myself. I already found some great methods but they all require you to copy a file (usually a dll) to a protected location (usually system32) Of course I red everything about the greatest proof of concept currently available : uacme On the forum post the coder describes everything related to his findings and it's a great source. On this post : http://www.kernelmode.info/forum/viewtopic.php?f=11&t=3643&start=80#p28249 He describes a way to copy a file to a protected location without injection, but for some r…

    • 2 replies
    • 5.3k views

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.