This file contains 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
package diff.garage; | |
import javax.crypto.Cipher; | |
import javax.crypto.spec.SecretKeySpec; | |
/** | |
* @author <[email protected]> | |
*/ | |
public class notes { |
This file contains 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
[35%]tstrazzere@bebop:[rsakeyfind] $ diff rsakeyfind.cpp-fixed rsakeyfind/rsakeyfind.cpp-original | |
colordiff 1.0.10 (http://colordiff.sourceforge.net/) | |
(C)2002-2012 Dave Ewart, [email protected] | |
4,5d3 | |
< | |
< #include <unistd.h> | |
8a7 | |
> #include <fcntl.h> |
This file contains 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
crw-rw---- system camera u:object_r:CAM_CAL_DRV_device:s0 CAM_CAL_DRV | |
crw-rw---- system camera u:object_r:LC898212AF_device:s0 LC898212AF | |
crw-rw---- system media u:object_r:MJC_device:s0 MJC | |
crw-rw---- system media u:object_r:MTK_SMI_device:s0 MTK_SMI | |
crw------- system system u:object_r:RT_Monitor_device:s0 RT_Monitor | |
crw-rw---- system media u:object_r:Vcodec_device:s0 Vcodec | |
crw-rw-r-- system radio u:object_r:alarm_device:s0 alarm | |
crw-rw---- system audio u:object_r:device:s0 aud_hs_amp | |
crw-rw---- system camera u:object_r:camera_fdvt_device:s0 camera-fdvt | |
crw-rw---- system camera u:object_r:camera_isp_device:s0 camera-isp |
This file contains 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
I/DEBUG ( 465): pid: 21163, tid: 21163, name: mediaserver >>> /system/bin/mediaserver <<< | |
I/DEBUG ( 465): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x4 | |
W/NativeCrashListener( 1076): Couldn't find ProcessRecord for pid 1530015793 | |
D/sensors_hal_LP2( 1076): processInd: X: -3.476501 Y: 5.804092 Z: 7.075302 | |
I/DEBUG ( 465): r0 00000094 r1 00000000 r2 ffb5d810 r3 ffb5d818 | |
E/DEBUG ( 465): AM write failure (32 / Broken pipe) | |
I/DEBUG ( 465): r4 ffb5d828 r5 ffb5d818 r6 f242da80 r7 ffb5d7b8 | |
I/DEBUG ( 465): r8 74783367 r9 f28c8c94 sl ffb5dd90 fp 00000001 | |
I/DEBUG ( 465): ip f289d1d1 sp ffb5d7a8 lr f70d4e75 pc f28a3b04 cpsr 60070030 | |
I/DEBUG ( 465): |
This file contains 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
diff --git a/pfp/fields.py b/pfp/fields.py | |
index cf4ee31..77da4eb 100644 | |
--- a/pfp/fields.py | |
+++ b/pfp/fields.py | |
@@ -1720,7 +1720,7 @@ class String(Field): | |
:returns: TODO | |
""" | |
- if isinstance(other, String): | |
+ if isinstance(other, str): |
This file contains 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
#include <unistd.h> | |
#include <sys/socket.h> | |
#include <linux/netlink.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <sys/mman.h> | |
#define NETLINK_SOCK_DIAG NETLINK_INET_DIAG | |
#define SOCK_DIAG_BY_FAMILY 20 |
This file contains 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
rule Signed_APK_with_dex | |
{ | |
meta: | |
author = "Tim Strazzere" | |
twitter = "@timstrazz" | |
date = "10/25/2012" | |
version = "1.0" | |
tag = "Android" | |
comment = "Attempted to detect an APK file with a classes.dex that is signed" |
This file contains 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
@Override | |
public void setUp() throws Exception { | |
super.setUp(); | |
mockReader = mock(IntReader.class); | |
// Mock the string section data | |
when(mockReader.readInt()).thenReturn( | |
7 * 4, // size | |
0x02, // string count | |
0x00, // style count | |
0x00, // string chunk flags |
This file contains 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
LOCAL_PATH := $(call my-dir) | |
include $(CLEAR_VARS) | |
LOCAL_SRC_FILES := \ | |
uree_toy.c | |
LOCAL_C_INCLUDE := ${ANDROID_NDK_ROOT}/platforms/android-14/arch-arm/usr/include/ | |
LOCAL_MODULE := uree_toy | |
LOCAL_MODULE_TAGS := optional |
This file contains 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
#!/usr/bin/python | |
# | |
# | |
# Decompling something being loaded in through powershell | |
# | |
# | |
# diff <[email protected]> | |
# | |
# |