_or_75
A God
Join Date: Oct 2012
Posts: 191
Points: 15,092, Level: 16
Level up: 7%, 1,308 Points needed
Activity: 9.3%
how the panorama checks the file code.pbin
my pseudo disassembled code in panorama.dll:
// struct code.pbin
struct code_pbin
{
BYTE PAN_SIG[4];
BYTE PAN_VERIFY_RSA_SIG[512];
BYTE PACKED_FILES[FILE_SIZE-516];
}
Code:
#pragma once #include <Windows.h> #include <iostream> #include "cryptlib/cryptlib.h" #include "cryptlib/rsa.h" #include "cryptlib/osrng.h" #include "cryptlib/base64.h" #include "cryptlib/files.h" using namespace std; using namespace CryptoPP; #pragma comment(lib,"cryptlib") const byte Panorama_PublicKey[] = { 0x30, 0x82, 0x02, 0x20, 0x30, 0x0D, 0x06, 0x09, 0x2A, 0x86, 0x48, 0x86, 0xF7, 0x0D, 0x01, 0x01, 0x01, 0x05, 0x00, 0x03, 0x82, 0x02, 0x0D, 0x00, 0x30, 0x82, 0x02, 0x08, 0x02, 0x82, 0x02, 0x01, 0x00, 0xC3, 0x77, 0x62, 0x5E, 0x7C, 0xA7, 0xC5, 0xC5, 0x02, 0x41, 0x11, 0xD0, 0x9E, 0xE2, 0x4E, 0x08, 0x3A, 0x3E, 0x31, 0xCC, 0x81, 0x13, 0xCB, 0x79, 0x42, 0xE0, 0xDA, 0xD2, 0xBF, 0xE0, 0xA9, 0x93, 0x58, 0xAF, 0x50, 0x72, 0x3D, 0xAE, 0x0C, 0xCA, 0x0D, 0x32, 0xC3, 0x39, 0x95, 0x84, 0x9A, 0x87, 0xB1, 0x40, 0xF5, 0x4A, 0xEC, 0x7B, 0xC2, 0xEC, 0xB0, 0x83, 0x64, 0x7A, 0x38, 0x7C, 0x81, 0x56, 0xC1, 0x56, 0x67, 0x98, 0x01, 0x16, 0x26, 0x4F, 0xDA, 0xB2, 0x86, 0xED, 0x60, 0x6A, 0x9C, 0x36, 0xF1, 0x76, 0xEF, 0x5B, 0x14, 0x55, 0xD2, 0x11, 0x94, 0x5F, 0x08, 0x59, 0x33, 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xCB, 0x8E, 0x35, 0xD3, 0x35, 0x01, 0xA3, 0x8A, 0x89, 0x22, 0xDA, 0x95, 0x6C, 0x4E, 0x1C, 0x77, 0x6E, 0x43, 0xEC, 0x85, 0x33, 0x83, 0x5F, 0xBA, 0xDF, 0xF4, 0x21, 0x5B, 0xE0, 0x00, 0xD6, 0x4D, 0x8C, 0x92, 0xBD, 0x67, 0xB4, 0x0E, 0x60, 0x83, 0x25, 0x4C, 0xDD, 0x66, 0x08, 0xBD, 0xE1, 0x25, 0xE4, 0xAA, 0xF1, 0x23, 0xFF, 0xE0, 0xAA, 0xAF, 0x02, 0x01, 0x11 }; PVOID LoadFileMemory( const char* szFileName , DWORD& FileSize ) { HANDLE hDllFile = nullptr; PVOID pFileMemory = nullptr; DWORD dwReadSize = 0; hDllFile = CreateFileA( szFileName , GENERIC_READ , NULL , NULL , OPEN_ALWAYS , OPEN_EXISTING , NULL ); if ( !hDllFile ) return nullptr; DWORD dwDllFileSize = GetFileSize( hDllFile , NULL ); if ( !dwDllFileSize ) return nullptr; FileSize = dwDllFileSize; pFileMemory = HeapAlloc( GetProcessHeap() , HEAP_ZERO_MEMORY , dwDllFileSize ); ReadFile( hDllFile , pFileMemory , dwDllFileSize , &dwReadSize , false ); if ( dwReadSize != dwDllFileSize ) return nullptr; CloseHandle( hDllFile ); return pFileMemory; } int main( int argc , char** argv ) { DWORD PanoramaFileSize = 0; PVOID pPanoramaFile = LoadFileMemory( "code.pbin", PanoramaFileSize ); if ( pPanoramaFile ) { printf( "pPanoramaFile: %pn" , pPanoramaFile ); try { DefaultAutoSeededRNG rng; ArraySource PubKeyArray( Panorama_PublicKey , sizeof Panorama_PublicKey , true ); RSA::PublicKey PanoramaPublicKey; PanoramaPublicKey.Load( PubKeyArray ); if ( PanoramaPublicKey.Validate( rng , 1 ) ) { printf( "PanoramaPublicKey Validate: SUCCESSn" ); RSASSA_PKCS1v15_SHA_Verifier verifier( PanoramaPublicKey ); const byte* PanoramaCheckBytes = (const byte*)( (DWORD)pPanoramaFile + 516 ); const byte* PanoramaSignature = (const byte*)( (DWORD)pPanoramaFile + 4 ); DWORD PanoramaCheckSize = PanoramaFileSize - 516; printf( "PanoramaCheckBytes: %pn", PanoramaCheckBytes ); bool result = verifier.VerifyMessage( PanoramaCheckBytes , PanoramaCheckSize , PanoramaSignature , 512 ); if ( result ) { printf( "SUCCESS Resource code.pbin has valid data !n" ); } else { printf( "ERROR Resource code.pbin has invalid data.n" ); } } else { printf( "PanoramaPublicKey Validate: ERRORn" ); } } catch ( CryptoPP::Exception &ex ) { printf( "Exception: %sn" , ex.what() ); } } getchar(); return 0; }
how example bypass ?
1) on load csgo -> replace 0x75 to 0xEB
signature replace panorama.dll -> «75 0F 68 ? ? ? ? 68 ? ? ? ? FF D7 83 C4 08 E8 ? ? ? ? FF 75 B0 8B D8 FF 75 AC»
rsa_public_key be here function panorama.dll -> «55 8B EC 81 EC ? ? ? ? 56 8B 75 08 8B 4E 10 81 F9»
start pub_key image:
patch image:
function in ida:
2) make new function and replace check function pointer -> «mov eax, dword ptr ds:[0x15F1A7BC]»
2.1) in new function call original pointer and result true (original return false)
3) create new private,public rsa key
3.1) replace panorama public code in memory
3.2) replace rsa veryfy signature in code.pbin
__________________
rule 7.
code.pbin (how the panorama works verify)
Last edited by _or_75; 23rd June 2018 at 03:58 PM.
Go to ClassicOffensive
r/ClassicOffensive
r/ClassicOffensive
The mod where wallbangs are strong and nades look like barrels.
Members
Online
•
by
NekoMadeOfWaifus
Resource panorama/code.pbin failed to load.
I get this message when I try to run Counter-Strike: Classic Offensive from the pinned post, or the Counter-Strike: Classic Offensive TEST from ModDB. Any fix for this? Running on Linux, Pop_OS! 18.10 (Ubuntu 18.10).
Error reading file materials/panorama/images/map_icons/screenshots/1080p/awp_lego_2.png.
Resource materialspanoramaimagesmap_iconsmap_icon_awp_lego_2.svg failed to load.
Error reading file resource/overviews/awp_lego_2_radar.dds.
Received Stats from sto#53 (162.254.198.42:27027) using incorrect/stale connection ID 272135120. Rejecting wth NoConnection reply.
Received Stats from sto2#354 (155.133.252.53:27022) using incorrect/stale connection ID 272135120. Rejecting wth NoConnection reply.
Received Stats from sto#53 (162.254.198.42:27027) using incorrect/stale connection ID 272135120. Rejecting wth NoConnection reply.
Received Stats from sto#53 (162.254.198.42:27027) using incorrect/stale connection ID 272135120. Rejecting wth NoConnection reply.
Received Stats from sto#53 (162.254.198.42:27027) using incorrect/stale connection ID 272135120. Rejecting wth NoConnection reply.
Received Stats from sto#53 (162.254.198.42:27027) using incorrect/stale connection ID 272135120. Rejecting wth NoConnection reply.
Received Stats from sto#53 (162.254.198.42:27027) using incorrect/stale connection ID 272135120. Rejecting wth NoConnection reply.
Received Stats from sto#53 (162.254.198.42:27027) using incorrect/stale connection ID 272135120. Rejecting wth NoConnection reply.
========================================================================
========================================================================
========================================================================
Material uses an out of range $detailblendmode of 9. Should be in [0,7].
Give a programmer a repro case, or look at your modified vmt files
========================================================================
========================================================================
========================================================================
========================================================================
========================================================================
========================================================================
Material uses an out of range $detailblendmode of 9. Should be in [0,7].
Give a programmer a repro case, or look at your modified vmt files
========================================================================
========================================================================
========================================================================
========================================================================
========================================================================
========================================================================
Material uses an out of range $detailblendmode of 9. Should be in [0,7].
Give a programmer a repro case, or look at your modified vmt files
========================================================================
========================================================================
========================================================================
========================================================================
========================================================================
========================================================================
Material uses an out of range $detailblendmode of 9. Should be in [0,7].
Give a programmer a repro case, or look at your modified vmt files
========================================================================
========================================================================
========================================================================
========================================================================
========================================================================
========================================================================
Material uses an out of range $detailblendmode of 9. Should be in [0,7].
Give a programmer a repro case, or look at your modified vmt files
========================================================================
========================================================================
========================================================================
========================================================================
========================================================================
========================================================================
Material uses an out of range $detailblendmode of 9. Should be in [0,7].
Give a programmer a repro case, or look at your modified vmt files
========================================================================
========================================================================
========================================================================
========================================================================
========================================================================
========================================================================
Material uses an out of range $detailblendmode of 9. Should be in [0,7].
Give a programmer a repro case, or look at your modified vmt files
========================================================================
========================================================================
========================================================================
========================================================================
========================================================================
========================================================================
Material uses an out of range $detailblendmode of 9. Should be in [0,7].
Give a programmer a repro case, or look at your modified vmt files
========================================================================
========================================================================
========================================================================
========================================================================
========================================================================
========================================================================
Material uses an out of range $detailblendmode of 9. Should be in [0,7].
Give a programmer a repro case, or look at your modified vmt files
========================================================================
========================================================================
========================================================================
========================================================================
========================================================================
========================================================================
Material uses an out of range $detailblendmode of 9. Should be in [0,7].
Give a programmer a repro case, or look at your modified vmt files
========================================================================
========================================================================
========================================================================
========================================================================
========================================================================
========================================================================
Material uses an out of range $detailblendmode of 9. Should be in [0,7].
Give a programmer a repro case, or look at your modified vmt files
========================================================================
========================================================================
========================================================================
========================================================================
========================================================================
========================================================================
Material uses an out of range $detailblendmode of 9. Should be in [0,7].
Give a programmer a repro case, or look at your modified vmt files
========================================================================
========================================================================
========================================================================
========================================================================
========================================================================
========================================================================
Material uses an out of range $detailblendmode of 9. Should be in [0,7].
Give a programmer a repro case, or look at your modified vmt files
========================================================================
========================================================================
========================================================================
========================================================================
========================================================================
========================================================================
Material uses an out of range $detailblendmode of 9. Should be in [0,7].
Give a programmer a repro case, or look at your modified vmt files
========================================================================
========================================================================
========================================================================
========================================================================
========================================================================
========================================================================
Material uses an out of range $detailblendmode of 9. Should be in [0,7].
Give a programmer a repro case, or look at your modified vmt files
========================================================================
========================================================================
========================================================================
========================================================================
========================================================================
========================================================================
Material uses an out of range $detailblendmode of 9. Should be in [0,7].
Give a programmer a repro case, or look at your modified vmt files
========================================================================
========================================================================
========================================================================
========================================================================
========================================================================
========================================================================
Material uses an out of range $detailblendmode of 9. Should be in [0,7].
Give a programmer a repro case, or look at your modified vmt files
========================================================================
========================================================================
========================================================================
========================================================================
========================================================================
========================================================================
Material uses an out of range $detailblendmode of 9. Should be in [0,7].
Give a programmer a repro case, or look at your modified vmt files
========================================================================
========================================================================
========================================================================
========================================================================
========================================================================
========================================================================
Material uses an out of range $detailblendmode of 9. Should be in [0,7].
Give a programmer a repro case, or look at your modified vmt files
========================================================================
========================================================================
========================================================================
========================================================================
========================================================================
========================================================================
Material uses an out of range $detailblendmode of 9. Should be in [0,7].
Give a programmer a repro case, or look at your modified vmt files
========================================================================
========================================================================
========================================================================
========================================================================
========================================================================
========================================================================
Material uses an out of range $detailblendmode of 9. Should be in [0,7].
Give a programmer a repro case, or look at your modified vmt files
========================================================================
========================================================================
========================================================================
========================================================================
========================================================================
========================================================================
Material uses an out of range $detailblendmode of 9. Should be in [0,7].
Give a programmer a repro case, or look at your modified vmt files
========================================================================
========================================================================
========================================================================
========================================================================
========================================================================
========================================================================
Material uses an out of range $detailblendmode of 9. Should be in [0,7].
Give a programmer a repro case, or look at your modified vmt files
========================================================================
========================================================================
========================================================================
========================================================================
========================================================================
========================================================================
Material uses an out of range $detailblendmode of 9. Should be in [0,7].
Give a programmer a repro case, or look at your modified vmt files
========================================================================
========================================================================
========================================================================
mnogoznaal
Участник
Автор темы
-
- 330
-
- 30
-
3 Сен 2021
-
#1
resource panorama/code.pbin failed to load
кто знает как пофиксить
Решение
-
inxanity!
- 3 Сен 2021
buybiz написал(а):
resource panorama/code.pbin failed to load
кто знает как пофикситьНажмите для раскрытия…
Проверь файлы через Стим (востанови )
Сортировка по дате
Сортировка по голосам
inxanity!
Известный
-
- 394
-
- 117
-
3 Сен 2021
- Решение
-
#2
buybiz написал(а):
resource panorama/code.pbin failed to load
кто знает как пофикситьНажмите для раскрытия…
Проверь файлы через Стим (востанови )
Позитивный голос
-1
Негативный голос
Решение
Войдите или зарегистрируйтесь для ответа.
Похожие темы
-
-
Вопрос
rage mp
- Bebraoff
- 11 Май 2022
- Помощь
- Ответы
- 0
- Просмотры
- 280
Помощь
11 Май 2022
Bebraoff
-
-
-
Решено
Какойто баг/краш
- Pepeno
- 4 Окт 2021
- Помощь
- Ответы
- 6
- Просмотры
- 267
Помощь
4 Окт 2021
livingflore
-
-
F
-
Вопрос
Прозрачная растительность в интерьерах
- Federko
- 17 Фев 2021
- Помощь
- Ответы
- 2
- Просмотры
- 290
Помощь
18 Фев 2021
shitcodes
-
-
H
Неактуально Lua
[RakSamp] Бот для фарма денег | ARZ | НОВОЕ ГЛОБАЛЬНОЕ ОБНОВЛЕНИЕ v5
- Haymiritch
- 10 Окт 2022
- Читы
60
61
62
- Ответы
- 927
- Просмотры
- 77K
Читы
7 Мар 2023
чоко мами 1488
-
-
-
Вопрос
что за баг
- Neekiloj
- 7 Июн 2021
- Помощь
2
3
- Ответы
- 30
- Просмотры
- 3K
Помощь
7 Июн 2021
poofe
-
Поделиться:
Ссылка