fixed some issues in visual studios

workingdir/cra0-upated
xerox 4 years ago
parent 6ec4e84b07
commit 1d8981fab4

@ -86,9 +86,9 @@ namespace ligma
// //
// dont spoof persist.sys.timezone or these other ones. // dont spoof persist.sys.timezone or these other ones.
// //
if (strcmp(name, "persist.sys.timezone") != 0 || if (strcmp(name, "persist.sys.timezone") != 0 &&
strcmp(name, "ro.build.fingerprint") != 0 || strcmp(name, "ro.build.fingerprint") != 0 &&
strcmp(name, "ro.revision") != 0 || strcmp(name, "ro.revision") != 0 &&
strcmp(name, "ro.build.version.sdk") != 0) strcmp(name, "ro.build.version.sdk") != 0)
{ {
LOGI("spoofing hwid = %s, to = %s", value, HWID_VALUE); LOGI("spoofing hwid = %s, to = %s", value, HWID_VALUE);

@ -3,7 +3,7 @@
#include <mutex> #include <mutex>
#include <android/log.h> #include <android/log.h>
#include <sys/system_properties.h> #include <sys/system_properties.h>
#include "shithook.h" #include "../shithook.h"
#define HWID_VALUE "what do you call nuts on your chin? a dick down your throat you fucking retard!" #define HWID_VALUE "what do you call nuts on your chin? a dick down your throat you fucking retard!"
#define LOGI(...) ((void)__android_log_print(ANDROID_LOG_INFO, "ligma", __VA_ARGS__)) #define LOGI(...) ((void)__android_log_print(ANDROID_LOG_INFO, "ligma", __VA_ARGS__))

@ -1,4 +1,4 @@
#include "bypass.h" #include "bypass/bypass.h"
__attribute__((constructor)) __attribute__((constructor))
void init() void init()

@ -129,8 +129,8 @@
<PostBuildEvent> <PostBuildEvent>
<Command>adb logcat -c <Command>adb logcat -c
adb push C:\Users\xerox\source\repos\ligma\ARM\Release\libligma.so /data/app/com.activision.callofduty.shooter-1/lib/arm/libligma.so adb push C:\Users\xerox\source\repos\ligma\ARM\Release\libligma.so /data/app/com.activision.callofduty.shooter-1/lib/arm/libligma.so
start cmd /k "title 'ligma filter' &amp; nox_adb logcat | findstr ligma" start cmd /k "title 'ligma filter' &amp; adb logcat | findstr ligma"
nox_adb shell am start -n com.activision.callofduty.shooter/com.tencent.tmgp.cod.PermissionGrantActivity</Command> adb shell am start -n com.activision.callofduty.shooter/com.tencent.tmgp.cod.PermissionGrantActivity</Command>
</PostBuildEvent> </PostBuildEvent>
</ItemDefinitionGroup> </ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
@ -142,8 +142,8 @@ nox_adb shell am start -n com.activision.callofduty.shooter/com.tencent.tmgp.cod
<PostBuildEvent> <PostBuildEvent>
<Command>adb logcat -c <Command>adb logcat -c
adb push C:\Users\xerox\source\repos\ligma\ARM\Release\libligma.so /data/app/com.activision.callofduty.shooter-1/lib/arm/libligma.so adb push C:\Users\xerox\source\repos\ligma\ARM\Release\libligma.so /data/app/com.activision.callofduty.shooter-1/lib/arm/libligma.so
start cmd /k "title 'ligma filter' &amp; nox_adb logcat | findstr ligma" start cmd /k "title 'ligma filter' &amp; adb logcat | findstr ligma"
nox_adb shell am start -n com.activision.callofduty.shooter/com.tencent.tmgp.cod.PermissionGrantActivity</Command> adb shell am start -n com.activision.callofduty.shooter/com.tencent.tmgp.cod.PermissionGrantActivity</Command>
</PostBuildEvent> </PostBuildEvent>
</ItemDefinitionGroup> </ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x86'"> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x86'">
@ -155,8 +155,8 @@ nox_adb shell am start -n com.activision.callofduty.shooter/com.tencent.tmgp.cod
<PostBuildEvent> <PostBuildEvent>
<Command>adb logcat -c <Command>adb logcat -c
adb push C:\Users\xerox\source\repos\ligma\ARM\Release\libligma.so /data/app/com.activision.callofduty.shooter-1/lib/arm/libligma.so adb push C:\Users\xerox\source\repos\ligma\ARM\Release\libligma.so /data/app/com.activision.callofduty.shooter-1/lib/arm/libligma.so
start cmd /k "title 'ligma filter' &amp; nox_adb logcat | findstr ligma" start cmd /k "title 'ligma filter' &amp; adb logcat | findstr ligma"
nox_adb shell am start -n com.activision.callofduty.shooter/com.tencent.tmgp.cod.PermissionGrantActivity</Command> adb shell am start -n com.activision.callofduty.shooter/com.tencent.tmgp.cod.PermissionGrantActivity</Command>
</PostBuildEvent> </PostBuildEvent>
</ItemDefinitionGroup> </ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x86'"> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x86'">
@ -168,8 +168,8 @@ nox_adb shell am start -n com.activision.callofduty.shooter/com.tencent.tmgp.cod
<PostBuildEvent> <PostBuildEvent>
<Command>adb logcat -c <Command>adb logcat -c
adb push C:\Users\xerox\source\repos\ligma\ARM\Release\libligma.so /data/app/com.activision.callofduty.shooter-1/lib/arm/libligma.so adb push C:\Users\xerox\source\repos\ligma\ARM\Release\libligma.so /data/app/com.activision.callofduty.shooter-1/lib/arm/libligma.so
start cmd /k "title 'ligma filter' &amp; nox_adb logcat | findstr ligma" start cmd /k "title 'ligma filter' &amp; adb logcat | findstr ligma"
nox_adb shell am start -n com.activision.callofduty.shooter/com.tencent.tmgp.cod.PermissionGrantActivity</Command> adb shell am start -n com.activision.callofduty.shooter/com.tencent.tmgp.cod.PermissionGrantActivity</Command>
</PostBuildEvent> </PostBuildEvent>
</ItemDefinitionGroup> </ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'"> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">
@ -181,8 +181,8 @@ nox_adb shell am start -n com.activision.callofduty.shooter/com.tencent.tmgp.cod
<PostBuildEvent> <PostBuildEvent>
<Command>adb logcat -c <Command>adb logcat -c
adb push C:\Users\xerox\source\repos\ligma\ARM\Release\libligma.so /data/app/com.activision.callofduty.shooter-1/lib/arm/libligma.so adb push C:\Users\xerox\source\repos\ligma\ARM\Release\libligma.so /data/app/com.activision.callofduty.shooter-1/lib/arm/libligma.so
start cmd /k "title 'ligma filter' &amp; nox_adb logcat | findstr ligma" start cmd /k "title 'ligma filter' &amp; adb logcat | findstr ligma"
nox_adb shell am start -n com.activision.callofduty.shooter/com.tencent.tmgp.cod.PermissionGrantActivity</Command> adb shell am start -n com.activision.callofduty.shooter/com.tencent.tmgp.cod.PermissionGrantActivity</Command>
</PostBuildEvent> </PostBuildEvent>
</ItemDefinitionGroup> </ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'"> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'">
@ -194,8 +194,8 @@ nox_adb shell am start -n com.activision.callofduty.shooter/com.tencent.tmgp.cod
<PostBuildEvent> <PostBuildEvent>
<Command>adb logcat -c <Command>adb logcat -c
adb push C:\Users\xerox\source\repos\ligma\ARM\Release\libligma.so /data/app/com.activision.callofduty.shooter-1/lib/arm/libligma.so adb push C:\Users\xerox\source\repos\ligma\ARM\Release\libligma.so /data/app/com.activision.callofduty.shooter-1/lib/arm/libligma.so
start cmd /k "title 'ligma filter' &amp; nox_adb logcat | findstr ligma" start cmd /k "title 'ligma filter' &amp; adb logcat | findstr ligma"
nox_adb shell am start -n com.activision.callofduty.shooter/com.tencent.tmgp.cod.PermissionGrantActivity</Command> adb shell am start -n com.activision.callofduty.shooter/com.tencent.tmgp.cod.PermissionGrantActivity</Command>
</PostBuildEvent> </PostBuildEvent>
</ItemDefinitionGroup> </ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'"> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">
@ -207,8 +207,8 @@ nox_adb shell am start -n com.activision.callofduty.shooter/com.tencent.tmgp.cod
<PostBuildEvent> <PostBuildEvent>
<Command>adb logcat -c <Command>adb logcat -c
adb push C:\Users\xerox\source\repos\ligma\ARM\Release\libligma.so /data/app/com.activision.callofduty.shooter-1/lib/arm/libligma.so adb push C:\Users\xerox\source\repos\ligma\ARM\Release\libligma.so /data/app/com.activision.callofduty.shooter-1/lib/arm/libligma.so
start cmd /k "title 'ligma filter' &amp; nox_adb logcat | findstr ligma" start cmd /k "title 'ligma filter' &amp; adb logcat | findstr ligma"
nox_adb shell am start -n com.activision.callofduty.shooter/com.tencent.tmgp.cod.PermissionGrantActivity</Command> adb shell am start -n com.activision.callofduty.shooter/com.tencent.tmgp.cod.PermissionGrantActivity</Command>
</PostBuildEvent> </PostBuildEvent>
</ItemDefinitionGroup> </ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'"> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">
@ -220,16 +220,16 @@ nox_adb shell am start -n com.activision.callofduty.shooter/com.tencent.tmgp.cod
<PostBuildEvent> <PostBuildEvent>
<Command>adb logcat -c <Command>adb logcat -c
adb push C:\Users\xerox\source\repos\ligma\ARM\Release\libligma.so /data/app/com.activision.callofduty.shooter-1/lib/arm/libligma.so adb push C:\Users\xerox\source\repos\ligma\ARM\Release\libligma.so /data/app/com.activision.callofduty.shooter-1/lib/arm/libligma.so
start cmd /k "title 'ligma filter' &amp; nox_adb logcat | findstr ligma" start cmd /k "title 'ligma filter' &amp; adb logcat | findstr ligma"
nox_adb shell am start -n com.activision.callofduty.shooter/com.tencent.tmgp.cod.PermissionGrantActivity</Command> adb shell am start -n com.activision.callofduty.shooter/com.tencent.tmgp.cod.PermissionGrantActivity</Command>
</PostBuildEvent> </PostBuildEvent>
</ItemDefinitionGroup> </ItemDefinitionGroup>
<ItemGroup> <ItemGroup>
<ClCompile Include="bypass.cpp" /> <ClCompile Include="bypass\bypass.cpp" />
<ClCompile Include="ligma.cpp" /> <ClCompile Include="ligma.cpp" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ClInclude Include="bypass.h" /> <ClInclude Include="bypass\bypass.h" />
<ClInclude Include="shithook.h" /> <ClInclude Include="shithook.h" />
</ItemGroup> </ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />

@ -7,21 +7,27 @@
<Filter Include="headers"> <Filter Include="headers">
<UniqueIdentifier>{a802d5b1-4373-45ec-9899-a56dcab8effb}</UniqueIdentifier> <UniqueIdentifier>{a802d5b1-4373-45ec-9899-a56dcab8effb}</UniqueIdentifier>
</Filter> </Filter>
<Filter Include="headers\bypass">
<UniqueIdentifier>{d02af610-3abc-497e-8875-d1f51f60a27d}</UniqueIdentifier>
</Filter>
<Filter Include="source\bypass">
<UniqueIdentifier>{3a6ff0eb-0b42-4eae-a5c7-3dad52e2c026}</UniqueIdentifier>
</Filter>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ClCompile Include="ligma.cpp"> <ClCompile Include="ligma.cpp">
<Filter>source</Filter> <Filter>source</Filter>
</ClCompile> </ClCompile>
<ClCompile Include="bypass.cpp"> <ClCompile Include="bypass\bypass.cpp">
<Filter>source</Filter> <Filter>source\bypass</Filter>
</ClCompile> </ClCompile>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ClInclude Include="shithook.h"> <ClInclude Include="shithook.h">
<Filter>headers</Filter> <Filter>headers</Filter>
</ClInclude> </ClInclude>
<ClInclude Include="bypass.h"> <ClInclude Include="bypass\bypass.h">
<Filter>headers</Filter> <Filter>headers\bypass</Filter>
</ClInclude> </ClInclude>
</ItemGroup> </ItemGroup>
</Project> </Project>
Loading…
Cancel
Save