Registration Code (Part 1): w%kQ6
Registration Code (Part 2): b<#$1[*(cw~
In order to register on this forum, you must use the codes above. Combine them into one code (copy paste).

[RELEASE] NosHook v1.0.0.4

Topics regarding the online game Nostale.
Locked
User avatar
atom0s
Site Admin
Posts: 414
Joined: Sun Jan 04, 2015 11:23 pm
Location: 127.0.0.1
Contact:

[RELEASE] NosHook v1.0.0.4

Post by atom0s » Sun Aug 14, 2016 12:15 pm

ElitePvP Release Link
http://www.elitepvpers.com/forum/nostal ... ddons.html

Image
NosHook
Direct3D Hook / Plugins / Addons


>> Donations
Enjoy my work? Want to show your support? Why not donate?
https://www.paypal.com/cgi-bin/webscr?c ... Q2GRT6KUJN

>> What is NosHook?

>> Changelog
  • [FIX] Fixed an issue where keys would get stuck while alt+tabbing away from NosTale.
  • [CHG] Changed the launcher to display more error information when a step fails.

>> Download

Please DO NOT upload this file to other websites. Instead, link people to this post/thread or the thread holding the most current version. I do not like seeing my downloads on other sites as people tend to infect them and try to steal peoples accounts and such. I would rather people come to my site, the official location of NosHook and obtain a real copy here. Thanks for understanding!
Attachments
NosHook v1.0.0.4 - by atom0s.7z
(1.14 MiB) Downloaded 272 times
Derp~
Need a great web host? Check out: AnHonestHost.com


Donations can be made via Paypal:
https://www.paypal.me/atom0s
User avatar
the0nlymadhat
Posts: 5
Joined: Sun Aug 14, 2016 1:34 pm

Re: [RELEASE] NosHook v1.0.0.4

Post by the0nlymadhat » Sun Aug 14, 2016 1:35 pm

NosHook looks really sick! I've got a question though. How did you make the .exe console have alot of different word colors?
User avatar
atom0s
Site Admin
Posts: 414
Joined: Sun Jan 04, 2015 11:23 pm
Location: 127.0.0.1
Contact:

Re: [RELEASE] NosHook v1.0.0.4

Post by atom0s » Sun Aug 14, 2016 1:56 pm

the0nlymadhat wrote:NosHook looks really sick! I've got a question though. How did you make the .exe console have alot of different word colors?
You can change the consoles output color via the SetConsoleTextAttribute API.
https://msdn.microsoft.com/en-us/librar ... s.85).aspx
Derp~
Need a great web host? Check out: AnHonestHost.com


Donations can be made via Paypal:
https://www.paypal.me/atom0s
User avatar
the0nlymadhat
Posts: 5
Joined: Sun Aug 14, 2016 1:34 pm

Re: [RELEASE] NosHook v1.0.0.4

Post by the0nlymadhat » Sun Aug 14, 2016 1:57 pm

atom0s wrote:
the0nlymadhat wrote:NosHook looks really sick! I've got a question though. How did you make the .exe console have alot of different word colors?
You can change the consoles output color via the SetConsoleTextAttribute API.
https://msdn.microsoft.com/en-us/librar ... s.85).aspx
Holy shit, I thought you used another way, that must take alot of time ;x
User avatar
atom0s
Site Admin
Posts: 414
Joined: Sun Jan 04, 2015 11:23 pm
Location: 127.0.0.1
Contact:

Re: [RELEASE] NosHook v1.0.0.4

Post by atom0s » Sun Aug 14, 2016 2:13 pm

the0nlymadhat wrote:
atom0s wrote:
the0nlymadhat wrote:NosHook looks really sick! I've got a question though. How did you make the .exe console have alot of different word colors?
You can change the consoles output color via the SetConsoleTextAttribute API.
https://msdn.microsoft.com/en-us/librar ... s.85).aspx
Holy shit, I thought you used another way, that must take alot of time ;x
Not really, I wrote a wrapper around std::ostream so I can just append to it.
  1. /**
  2.  * NosHook - Copyright (c) 2016 atom0s [atom0s@live.com]
  3.  *
  4.  * This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
  5.  * To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to
  6.  * Creative Commons, PO Box 1866, Mountain View, CA 94042, USA.
  7.  *
  8.  * By using NosHook, you agree to the above license and its terms.
  9.  *
  10.  *      Attribution - You must give appropriate credit, provide a link to the license and indicate if changes were
  11.  *                    made. You must do so in any reasonable manner, but not in any way that suggests the licensor
  12.  *                    endorses you or your use.
  13.  *
  14.  *   Non-Commercial - You may not use the material (NosHook) for commercial purposes.
  15.  *
  16.  *   No-Derivatives - If you remix, transform, or build upon the material (NosHook), you may not distribute the
  17.  *                    modified material. You are, however, allowed to submit the modified works back to the original
  18.  *                    NosHook project in attempt to have it added to the original project.
  19.  *
  20.  * You may not apply legal terms or technological measures that legally restrict others
  21.  * from doing anything the license permits.
  22.  *
  23.  * No warranties are given.
  24.  */
  25.  
  26. #ifndef __CONSOLE_H_INCLUDED__
  27. #define __CONSOLE_H_INCLUDED__
  28.  
  29. #if defined (_MSC_VER) && (_MSC_VER >= 1020)
  30. #pragma once
  31. #endif
  32.  
  33. #include <Windows.h>
  34. #include <iostream>
  35. #include <string>
  36. #include <time.h>
  37.  
  38. namespace Console
  39. {
  40.     /**
  41.      * Supported Color Enumeration
  42.      */
  43.     enum Color
  44.     {
  45.         // Custom color to display a timestamp..
  46.         Timestamp = 0,
  47.  
  48.         // Red colors..
  49.         Red = FOREGROUND_RED,
  50.         LightRed = FOREGROUND_RED | FOREGROUND_INTENSITY,
  51.  
  52.         // Green colors..
  53.         Green = FOREGROUND_GREEN,
  54.         LightGreen = FOREGROUND_GREEN | FOREGROUND_INTENSITY,
  55.  
  56.         // Blue colors..
  57.         Blue = FOREGROUND_BLUE,
  58.         LightBlue = FOREGROUND_BLUE | FOREGROUND_INTENSITY,
  59.  
  60.         // Cyan colors..
  61.         Cyan = FOREGROUND_BLUE | FOREGROUND_GREEN,
  62.         LightCyan = FOREGROUND_BLUE | FOREGROUND_GREEN | FOREGROUND_INTENSITY,
  63.  
  64.         // Yellow colors..
  65.         Yellow = FOREGROUND_GREEN | FOREGROUND_RED,
  66.         LightYellow = FOREGROUND_GREEN | FOREGROUND_RED | FOREGROUND_INTENSITY,
  67.  
  68.         // Purple colors..
  69.         Purple = FOREGROUND_BLUE | FOREGROUND_RED,
  70.         LightPurple = FOREGROUND_BLUE | FOREGROUND_RED | FOREGROUND_INTENSITY,
  71.  
  72.         // White colors..
  73.         Grey = FOREGROUND_RED | FOREGROUND_GREEN | FOREGROUND_BLUE,
  74.         White = FOREGROUND_RED | FOREGROUND_GREEN | FOREGROUND_BLUE | FOREGROUND_INTENSITY,
  75.  
  76.         // Common color codes..
  77.         Debug = LightCyan,
  78.         Error = LightRed,
  79.         Info = White,
  80.         Success = LightGreen,
  81.         Warning = LightYellow
  82.     };
  83.  
  84.     /**
  85.      * Operater overload to handle custom color codes in an ostream.
  86.      *
  87.      * @param {std::ostream&} s                     The stream to inject the color code into.
  88.      * @param {Console::Color&} c                   The color code to inject.
  89.      * @return {std::ostream&}                      The incoming stream object.
  90.      */
  91.     inline std::ostream& operator <<(std::ostream& s, const Console::Color& c)
  92.     {
  93.         // Handle timestamp as a special color..
  94.         if (c == Console::Color::Timestamp)
  95.         {
  96.             __time32_t rawtime;
  97.             struct tm timeinfo;
  98.  
  99.             // Obtain the current local time..
  100.             _time32(&rawtime);
  101.             _localtime32_s(&timeinfo, &rawtime);
  102.  
  103.             // Construct the timestamp..
  104.             char buffer[1024] = { 0 };
  105.             strftime(buffer, 1024, "%H:%M:%S | ", &timeinfo);
  106.  
  107.             s << Console::Color::LightYellow << buffer;
  108.             return s;
  109.         }
  110.  
  111.         // Change the console color..
  112.         ::SetConsoleTextAttribute(::GetStdHandle(STD_OUTPUT_HANDLE), (short)c);
  113.         return s;
  114.     }
  115.  
  116. }; // namespace Console
  117.  
  118. #endif // __CONSOLE_H_INCLUDED__
Then to use it:
  1.     std::cout << Console::LightYellow << "NosHook - A NosTale Injected Hook" << std::endl;
  2.     std::cout << Console::LightGreen << "(c) 2016 atom0s [atom0s@live.com]" << std::endl << std::endl;
  3.     std::cout << Console::LightPurple << "\tWebsite: " << Console::LightCyan << "http://atom0s.com/" << std::endl;
  4.     std::cout << Console::LightPurple << "\tForums : " << Console::LightCyan << "http://atom0s.com/forums/" << std::endl;
  5.     std::cout << Console::Blue << "-----------------------------------------------------------------" << std::endl << std::endl;
Derp~
Need a great web host? Check out: AnHonestHost.com


Donations can be made via Paypal:
https://www.paypal.me/atom0s
User avatar
the0nlymadhat
Posts: 5
Joined: Sun Aug 14, 2016 1:34 pm

Re: [RELEASE] NosHook v1.0.0.4

Post by the0nlymadhat » Sun Aug 14, 2016 2:17 pm

Thank you for sharing, do you have any idea where I can learn game hacking? Any good websites?

I've been trying to search on how to open other .exe's using C++ but

Code: Select all

ShellExecute(NULL, "open", exe.c_str(), NULL, NULL, SW_SHOW);
does not work for me :x

EDIT: It only works on .txt files and not .exe's.
Locked

Who is online

Users browsing this forum: No registered users and 11 guests