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.
//
if (strcmp(name, "persist.sys.timezone") != 0 ||
strcmp(name, "ro.build.fingerprint") != 0 ||
strcmp(name, "ro.revision") != 0 ||
if (strcmp(name, "persist.sys.timezone") != 0 &&
strcmp(name, "ro.build.fingerprint") != 0 &&
strcmp(name, "ro.revision") != 0 &&
strcmp(name, "ro.build.version.sdk") != 0)
{
LOGI("spoofing hwid = %s, to = %s", value, HWID_VALUE);

@ -3,7 +3,7 @@
#include <mutex>
#include <android/log.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 LOGI(...) ((void)__android_log_print(ANDROID_LOG_INFO, "ligma", __VA_ARGS__))

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

@ -129,8 +129,8 @@
<PostBuildEvent>
<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
start cmd /k "title 'ligma filter' &amp; nox_adb logcat | findstr ligma"
nox_adb shell am start -n com.activision.callofduty.shooter/com.tencent.tmgp.cod.PermissionGrantActivity</Command>
start cmd /k "title 'ligma filter' &amp; adb logcat | findstr ligma"
adb shell am start -n com.activision.callofduty.shooter/com.tencent.tmgp.cod.PermissionGrantActivity</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<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>
<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
start cmd /k "title 'ligma filter' &amp; nox_adb logcat | findstr ligma"
nox_adb shell am start -n com.activision.callofduty.shooter/com.tencent.tmgp.cod.PermissionGrantActivity</Command>
start cmd /k "title 'ligma filter' &amp; adb logcat | findstr ligma"
adb shell am start -n com.activision.callofduty.shooter/com.tencent.tmgp.cod.PermissionGrantActivity</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<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>
<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
start cmd /k "title 'ligma filter' &amp; nox_adb logcat | findstr ligma"
nox_adb shell am start -n com.activision.callofduty.shooter/com.tencent.tmgp.cod.PermissionGrantActivity</Command>
start cmd /k "title 'ligma filter' &amp; adb logcat | findstr ligma"
adb shell am start -n com.activision.callofduty.shooter/com.tencent.tmgp.cod.PermissionGrantActivity</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<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>
<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
start cmd /k "title 'ligma filter' &amp; nox_adb logcat | findstr ligma"
nox_adb shell am start -n com.activision.callofduty.shooter/com.tencent.tmgp.cod.PermissionGrantActivity</Command>
start cmd /k "title 'ligma filter' &amp; adb logcat | findstr ligma"
adb shell am start -n com.activision.callofduty.shooter/com.tencent.tmgp.cod.PermissionGrantActivity</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<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>
<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
start cmd /k "title 'ligma filter' &amp; nox_adb logcat | findstr ligma"
nox_adb shell am start -n com.activision.callofduty.shooter/com.tencent.tmgp.cod.PermissionGrantActivity</Command>
start cmd /k "title 'ligma filter' &amp; adb logcat | findstr ligma"
adb shell am start -n com.activision.callofduty.shooter/com.tencent.tmgp.cod.PermissionGrantActivity</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<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>
<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
start cmd /k "title 'ligma filter' &amp; nox_adb logcat | findstr ligma"
nox_adb shell am start -n com.activision.callofduty.shooter/com.tencent.tmgp.cod.PermissionGrantActivity</Command>
start cmd /k "title 'ligma filter' &amp; adb logcat | findstr ligma"
adb shell am start -n com.activision.callofduty.shooter/com.tencent.tmgp.cod.PermissionGrantActivity</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<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>
<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
start cmd /k "title 'ligma filter' &amp; nox_adb logcat | findstr ligma"
nox_adb shell am start -n com.activision.callofduty.shooter/com.tencent.tmgp.cod.PermissionGrantActivity</Command>
start cmd /k "title 'ligma filter' &amp; adb logcat | findstr ligma"
adb shell am start -n com.activision.callofduty.shooter/com.tencent.tmgp.cod.PermissionGrantActivity</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<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>
<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
start cmd /k "title 'ligma filter' &amp; nox_adb logcat | findstr ligma"
nox_adb shell am start -n com.activision.callofduty.shooter/com.tencent.tmgp.cod.PermissionGrantActivity</Command>
start cmd /k "title 'ligma filter' &amp; adb logcat | findstr ligma"
adb shell am start -n com.activision.callofduty.shooter/com.tencent.tmgp.cod.PermissionGrantActivity</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="bypass.cpp" />
<ClCompile Include="bypass\bypass.cpp" />
<ClCompile Include="ligma.cpp" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="bypass.h" />
<ClInclude Include="bypass\bypass.h" />
<ClInclude Include="shithook.h" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />

@ -7,21 +7,27 @@
<Filter Include="headers">
<UniqueIdentifier>{a802d5b1-4373-45ec-9899-a56dcab8effb}</UniqueIdentifier>
</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>
<ClCompile Include="ligma.cpp">
<Filter>source</Filter>
</ClCompile>
<ClCompile Include="bypass.cpp">
<Filter>source</Filter>
<ClCompile Include="bypass\bypass.cpp">
<Filter>source\bypass</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="shithook.h">
<Filter>headers</Filter>
</ClInclude>
<ClInclude Include="bypass.h">
<Filter>headers</Filter>
<ClInclude Include="bypass\bypass.h">
<Filter>headers\bypass</Filter>
</ClInclude>
</ItemGroup>
</Project>
Loading…
Cancel
Save