add patch for kr weblogin - #45
Open
luismk wants to merge 3 commits into
Open
Conversation
Versao atualizada:
- Patch Dynamic -> versao 1.0 criada por acrisio
- Patch Dynamic -> atualizada, adicionado mais struct e melhoria.
codigo novo ficaria denso, e aceitando varios patch.
```
"PatchAddress": [
{
"description": "By pass ProjectG",
"address": "0x00A70DB9",
"type": "je",
"size": 1
},
{
"description": "Redirecionar URL de login",
"address": "0x00D3E9BC",
"type": "string",
"value": "http://pangya.gametree.co.kr/Secure/Login/LoginForGame.asp",
"size": 60
}
]
```
codigo foi desenhado para versao KR 839.00, interessante ProjectG.exe que só aceita conexao com pagina.
pagina é simples
```
<%@ Language="VBScript" %>
<%
Response.Clear
' Alterado para XML, que é o formato nativo que o cliente KR lê no handshake web
Response.ContentType = "text/xml"
Response.CharSet = "utf-8"
' Bloco de Log (Mantido para o seu monitoramento)
On Error Resume Next
Dim fso, txtFile, logPath
logPath = Server.MapPath("pangya_web_log.txt")
Set fso = CreateObject("Scripting.FileSystemObject")
Set txtFile = fso.OpenTextFile(logPath, 8, True)
If Err.Number = 0 Then
txtFile.Write "[" & Now & "] Autenticação Web requisitada com sucesso!" & vbCrLf
txtFile.Close
End If
On Error GoTo 0
' Montagem da String de Argumentos com todos os parâmetros que a Build KR precisa
Dim authArgs
authArgs = "AuthKey=ABC123456789|MemberNo=1|PCBangNo=0|Sex=M|Age=25|WardNo=1|CityCode=1|CloseTime=0|"
' Resposta XML idêntica à que funcionava no Fiddler
Response.Write "<?xml version=""1.0"" encoding=""utf-8""?>"
Response.Write "<NtreevAuthResult>"
Response.Write " <result>true</result>"
Response.Write " <arg>" & authArgs & "</arg>"
Response.Write "</NtreevAuthResult>"
Response.End
%>
```
feat: implementa leitura de memória e logs de verificação de patch - Adiciona método Read() para leitura de memória com proteção VirtualProtect. - Implementa logs de comparação OLD/NEW no PatchAddress(). - adicionado um novo Enum para o patch custom - Atualiza rugburn.json com novos campos e correções de sintaxe.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.