Register for your free account! | Forgot your password?

You last visited: Today at 21:22

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Open Source] HP Changer

Discussion on [Open Source] HP Changer within the S4 League Hacks, Bots, Cheats & Exploits forum part of the S4 League category.

Reply
 
Old   #1
 
elite*gold: 240
Join Date: Mar 2014
Posts: 374
Received Thanks: 585
[Open Source] HP Changer

Yo whatz up,

just a small release / open source / tutorial because i have found time in my break [ @someone ]

so we can start now

- Newbie's are wrong here <- Important

- It's really ugly coded and i give a fuck on people who have problems with it

Code:
Dim $byte[5];declare array $byte

If Not $cmdline[0] = 2 Then ; if not $cmdline[0] ( size of called Parameter ) = 2
	MsgBox(0, "Error", "Wrong Parameter") ; calling MessageBox Function ( User32.dll )
	Exit ; Close the Programm
EndIf ; end of If
So if you don't understand this ^ STOP READ

Code:
SetPrivilege(0x0020, 0x0002); the name say all ( set privilege )
$process = _MemoryOpen(ProcessExists("S4Client.exe")) ; OpenProcessMemory from S4Client.exe
$page = _AllocMem(ProcessExists("S4Client.exe"), 2048) ; create a Writeable Page in S4Client.exe and return the address from the start of the page.
$MyHP = _AllocMem(ProcessExists("S4Client.exe"), 2048); create a Writeable Page in S4Client.exe and return the address from the start of the page.
The Next Code is only for Reverse the Bytes ^-^

Code:
$hex = Hex($MyHP, 8)
$byte[0] = 4
$step = 1
For $i = 1 To 8
	$byte[$step] = StringRight($hex, 2)
	$i += 1
	$hex = StringLeft($hex, 8 - $i)
	$step += 1
Next
Now come an Important Part of the source

before u write it ..it looks like this

fld dword ptr [ebp-04]
mov esp,ebp

<- this are 5 bytes << D9 45 FC 8B E5

Code:
_MemoryWrite(0x00535F64, $process, "0xE9" & Byte_Reverse(Calc($page + 1, 0x00535F65)), "byte[5]") ; Write an Jmp from the orginal to the new page and calc the bytes for the page

after this code it looks like this

jmp ???????? <- ???????? because it change at every start ( the reason why we calc )

E9 ?? ?? ?? ?? <- the Bytes now

Code:
_MemoryWrite($page, $process, "0xA1" & $byte[1] & $byte[2] & $byte[3] & $byte[4], "byte[5]") ; Write in our own Page "mov eax,[$MyHP]"
"mov eax,[$MyHP]" Copy in the register eax the value of our own page ( the second ( $MyHP ))

Code:
_MemoryWrite($page + 0x5, $process, "0x8945FCD945FC8BE5E9" & Byte_Reverse(Calc($page + 0xD, 0x00535F69, 1)), "byte[13]")
89 45 FC - mov [ebp-04],eax
now we copy eax into [ebp-04] because we load it later

D9 45 FC - fld dword ptr [ebp-04]
8B E5 - mov esp,ebp
^the orginal code that we overwrite with our own jmp

E9 ???????? - jmp Back
^here we jmp back

Code:
_MemoryWrite($MyHP, $process, $cmdline[2], "float")
We write the second parameter into our own page ( $MyHP )

This Part you must understand now without help

Code:
If $cmdline[1] = "1" Then
	_MemoryWrite(0x00535F04, $process, "0xE9" & Byte_Reverse(Calc($page + 1, 0x00535F65)), "byte[5]")
Else
	_MemoryWrite(0x00535F04, $process, "0xD945FC8BE5", "Byte[5]")
EndIf
Functions


NomadMemory.au3

To Running the *.exe File

Code:
#RequireAdmin
ShellExecute(@ScriptDir & "\[S4L] HP Changer.exe","0 200");200 HP
or

Code:
#RequireAdmin
ShellExecute(@ScriptDir & "\[S4L] HP Changer.exe","1 1337");1337 HP and Godmode
-SoulCr4ck- is offline  
Thanks
12 Users
Old 10/28/2014, 23:07   #2
 
elite*gold: 10
Join Date: Dec 2013
Posts: 1,224
Received Thanks: 3,094
Thank You

€dit:
Yo guys, cauze i Think not everyone of you get this source, i wrote a little Tool to use this HP Changer very easy.

[Screen]



VT:
ka why x)

Written in Autoit, source also in Attachment.
Attached Files
File Type: zip HP Changer.zip (560.0 KB, 118 views)
TheMokko is offline  
Thanks
7 Users
Old 10/28/2014, 23:12   #3
 
elite*gold: 0
Join Date: Jan 2011
Posts: 196
Received Thanks: 96
Hard... But Good *-*
chamile is offline  
Old 10/28/2014, 23:15   #4
 
elite*gold: 240
Join Date: Mar 2014
Posts: 374
Received Thanks: 585
Quote:
Originally Posted by chamile View Post
Hard... But Good *-*
Yep it's a Code Cave. :3
-SoulCr4ck- is offline  
Old 10/28/2014, 23:27   #5
 
Nociif's Avatar
 
elite*gold: 129
Join Date: Dec 2011
Posts: 351
Received Thanks: 1,413
Thanks for sharing
Nociif is offline  
Old 10/28/2014, 23:31   #6
 
bidjus's Avatar
 
elite*gold: 0
Join Date: Jul 2011
Posts: 1,014
Received Thanks: 834
Thanks, you made my day.
bidjus is offline  
Old 10/29/2014, 00:18   #7
 
mvenus2's Avatar
 
elite*gold: 0
Join Date: Oct 2012
Posts: 131
Received Thanks: 49
üff it took long time to understand this ^.^ but thanks men :P
mvenus2 is offline  
Old 10/29/2014, 00:42   #8


 
Requi's Avatar
 
elite*gold: 3570
The Black Market: 244/0/0
Join Date: Dec 2012
Posts: 13,044
Received Thanks: 8,252
I'm not interested in game hacking nor s4 league, but you should work on your code even if its "ugly written" and not for further purposes.

I'm not familiar with s4 league, but shouldn't be hp server side?
Requi is offline  
Old 10/29/2014, 00:57   #9
 
elite*gold: 0
Join Date: Sep 2014
Posts: 896
Received Thanks: 100
Quote:
Originally Posted by Requi View Post
I'm not familiar with s4 league, but shouldn't be hp server side?
Sadly, like in most shooters you can change dmg, life etc clientsided ^^
Ammy' is offline  
Old 10/29/2014, 07:30   #10
 
elite*gold: 240
Join Date: Mar 2014
Posts: 374
Received Thanks: 585
Quote:
Originally Posted by Requi View Post
I'm not interested in game hacking nor s4 league, but you should work on your code even if its "ugly written" and not for further purposes.

I'm not familiar with s4 league, but shouldn't be hp server side?
1. No don't need.
2.Answer over me ^
-SoulCr4ck- is offline  
Old 10/29/2014, 17:14   #11
 
elite*gold: 10
Join Date: Dec 2013
Posts: 1,224
Received Thanks: 3,094
A little Tool 4 You

Yo guys, cauze i Think not everyone of you get this source, i wrote a little Tool to use this HP Changer very easy.

[Screen]



VT:
ka why x)

Written in Autoit, source also in Attachment.
Attached Files
File Type: zip HP Changer.zip (560.0 KB, 44 views)
TheMokko is offline  
Thanks
3 Users
Old 10/29/2014, 19:42   #12
 
elite*gold: 0
Join Date: Jan 2013
Posts: 126
Received Thanks: 24
Thanks Deviner , Thanks Soulcrack
-Bloody.Teaser* is offline  
Thanks
1 User
Old 10/29/2014, 19:55   #13
 
elite*gold: 0
Join Date: Mar 2011
Posts: 121
Received Thanks: 29
need bypass ?
art111 is offline  
Old 10/29/2014, 20:08   #14
 
elite*gold: 10
Join Date: Dec 2013
Posts: 1,224
Received Thanks: 3,094
Quote:
Originally Posted by art111 View Post
need bypass ?
yes
TheMokko is offline  
Old 10/29/2014, 20:14   #15
 
elite*gold: 240
Join Date: Mar 2014
Posts: 374
Received Thanks: 585
Quote:
Originally Posted by -******.Teaser* View Post
Thanks Deviner , Thanks Soulcrack
Don't write it ..press the Button <
-SoulCr4ck- is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
[Open-Source][C#] EloBuddy, open source League of Legends Bot
05/27/2014 - League of Legends Hacks, Bots, Cheats & Exploits - 8 Replies
-- Snipped --
Open Source oder Closed Source?
04/24/2014 - Off Topic - 10 Replies
Was haltet ihr persönlich für besser? Da wahrscheinlich wenig Programmierer abstimmen werden, wird es eher eine Frage an die Allgemeinheit. Wenn ihr Programmierer seit fühlt euch nicht ausgeschlossen und schreibt evtl. warum ihr das jeweilige besser findet :) Bin gerade am überlegen über das Thema, weil ich selber in Python Programmier, welches Open Source ist, und vor allem, weil die NASA vor hat über 1000 ihrer Programme zu veröffentlichen samt Source Code. Nasa veröffentlicht den...
[RELEASE] [OPEN SOURCE] CE 5.5 Pointer to AutoIt Source-Code
02/13/2011 - AutoIt - 6 Replies
Habe heute erst gemerkt, dass es hier eine AutoIt Sektion gibt xD also poste ich mal mein Programm mit rein. Funktionsweise: 1. in CE Rechtsklick auf den Pointer und auf "Copy" klicken 2. in meinem Programm auf "Code generieren" klicken 3. In euer Scite gehen und einfügen Hier ist der Source Code vom Programm:
Headset source OPEN SOURCE REQUEST!
09/23/2008 - Conquer Online 2 - 3 Replies
Yow As u know samehvan started a project to make the Gay headset source cooler. Then LOTF released (fucking super.pvper) Now noone wanna work on our project so we restarted it! Join us and help us to make it better! Forum - Project-Samehvan!



All times are GMT +1. The time now is 21:24.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.