Skip to content
This repository has been archived by the owner on May 25, 2022. It is now read-only.

Commit

Permalink
Andreas Koch: Bugfixes, Added name resolution, update notification
Browse files Browse the repository at this point in the history
  • Loading branch information
koch.trier committed Oct 5, 2011
1 parent c0842aa commit 4c31131
Show file tree
Hide file tree
Showing 107 changed files with 2,472 additions and 1,355 deletions.
9 changes: 9 additions & 0 deletions droidsheep/DroidSheep_public/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,15 @@
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity
android:label="@string/app_name"
android:configChanges="orientation|keyboardHidden"
android:name=".activities.UpdateActivity">
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<service
android:exported="false"
android:name=".services.ArpspoofService">
Expand Down
Binary file modified droidsheep/DroidSheep_public/bin/DroidSheep_public.apk
Binary file not shown.
Binary file modified droidsheep/DroidSheep_public/bin/classes.dex
Binary file not shown.
Binary file modified droidsheep/DroidSheep_public/bin/resources.ap_
Binary file not shown.
6 changes: 4 additions & 2 deletions droidsheep/DroidSheep_public/jni/droidsheep.c
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ void print_app_usage(void) {
return;
}

const struct sniff_ip *ip; /* The IP header */
char host[256];
char cookie[50000];
int host_idx = 0;
Expand Down Expand Up @@ -259,7 +260,7 @@ void print_cookies(const u_char *payload, int len) {
} else if (mode == 7 && c == '\n') {
cookie[cookie_idx] = '\0';
host[host_idx] = '\0';
printf("Cookie:%s|||Host=%s\n", cookie, host);
printf("Cookie:%s|||Host=%s|||IP=%s\n", cookie, host, inet_ntoa(ip->ip_src));
fflush(stdout);
truncated = 0;
mode = 0;
Expand Down Expand Up @@ -307,14 +308,15 @@ void print_cookies(const u_char *payload, int len) {
return;
}



void got_packet(u_char *args, const struct pcap_pkthdr *header,
const u_char *packet) {

static int count = 1; /* packet counter */

/* declare pointers to packet headers */
const struct sniff_ethernet *ethernet; /* The ethernet header [1] */
const struct sniff_ip *ip; /* The IP header */
const struct sniff_tcp *tcp; /* The TCP header */
const char *payload; /* Packet payload */

Expand Down
Binary file modified droidsheep/DroidSheep_public/libs/armeabi/droidsheep
Binary file not shown.
Binary file not shown.
Binary file modified droidsheep/DroidSheep_public/obj/local/armeabi/droidsheep
Binary file not shown.
Binary file modified droidsheep/DroidSheep_public/obj/local/armeabi/libnet.a
Binary file not shown.
Binary file modified droidsheep/DroidSheep_public/obj/local/armeabi/libpcap.a
Binary file not shown.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,113 @@
/cygdrive/d/Development/svn-workspace/arpspoof/obj/local/armeabi/objs/arpspoof/arpspoof/ensure_death.o: \
/cygdrive/d/Development/svn-workspace/arpspoof/jni/arpspoof/ensure_death.c \
/cygdrive/d/Development/android-ndk-r6/platforms/android-5/arch-arm/usr/include/stdio.h \
/cygdrive/d/Development/android-ndk-r6/platforms/android-5/arch-arm/usr/include/sys/cdefs.h \
/cygdrive/d/Development/android-ndk-r6/platforms/android-5/arch-arm/usr/include/sys/cdefs_elf.h \
/cygdrive/d/Development/android-ndk-r6/platforms/android-5/arch-arm/usr/include/sys/_types.h \
/cygdrive/d/Development/android-ndk-r6/platforms/android-5/arch-arm/usr/include/machine/_types.h \
/cygdrive/d/Development/android-ndk-r6/platforms/android-5/arch-arm/usr/include/sys/types.h \
/cygdrive/d/Development/android-ndk-r6/platforms/android-5/arch-arm/usr/include/stdint.h \
/cygdrive/d/Development/android-ndk-r6/platforms/android-5/arch-arm/usr/include/linux/posix_types.h \
/cygdrive/d/Development/android-ndk-r6/platforms/android-5/arch-arm/usr/include/linux/stddef.h \
/cygdrive/d/Development/android-ndk-r6/platforms/android-5/arch-arm/usr/include/linux/compiler.h \
/cygdrive/d/Development/android-ndk-r6/platforms/android-5/arch-arm/usr/include/asm/posix_types.h \
/cygdrive/d/Development/android-ndk-r6/platforms/android-5/arch-arm/usr/include/asm/types.h \
include/linux/types.h \
/cygdrive/d/Development/android-ndk-r6/platforms/android-5/arch-arm/usr/include/machine/kernel.h \
/cygdrive/d/Development/android-ndk-r6/platforms/android-5/arch-arm/usr/include/sys/sysmacros.h \
/cygdrive/d/Development/android-ndk-r6/platforms/android-5/arch-arm/usr/include/stdlib.h \
/cygdrive/d/Development/android-ndk-r6/platforms/android-5/arch-arm/usr/include/string.h \
/cygdrive/d/Development/android-ndk-r6/platforms/android-5/arch-arm/usr/include/malloc.h \
/cygdrive/d/Development/android-ndk-r6/platforms/android-5/arch-arm/usr/include/alloca.h \
/cygdrive/d/Development/android-ndk-r6/platforms/android-5/arch-arm/usr/include/strings.h \
/cygdrive/d/Development/android-ndk-r6/platforms/android-5/arch-arm/usr/include/memory.h \
/cygdrive/d/Development/android-ndk-r6/platforms/android-5/arch-arm/usr/include/pthread.h \
/cygdrive/d/Development/android-ndk-r6/platforms/android-5/arch-arm/usr/include/time.h \
/cygdrive/d/Development/android-ndk-r6/platforms/android-5/arch-arm/usr/include/sys/time.h \
/cygdrive/d/Development/android-ndk-r6/platforms/android-5/arch-arm/usr/include/linux/time.h \
/cygdrive/d/Development/android-ndk-r6/platforms/android-5/arch-arm/usr/include/asm/siginfo.h \
/cygdrive/d/Development/android-ndk-r6/platforms/android-5/arch-arm/usr/include/asm-generic/siginfo.h \
/cygdrive/d/Development/android-ndk-r6/platforms/android-5/arch-arm/usr/include/signal.h \
/cygdrive/d/Development/android-ndk-r6/platforms/android-5/arch-arm/usr/include/limits.h \
/cygdrive/d/Development/android-ndk-r6/platforms/android-5/arch-arm/usr/include/sys/limits.h \
/cygdrive/d/Development/android-ndk-r6/platforms/android-5/arch-arm/usr/include/linux/limits.h \
/cygdrive/d/Development/android-ndk-r6/platforms/android-5/arch-arm/usr/include/machine/internal_types.h \
/cygdrive/d/Development/android-ndk-r6/platforms/android-5/arch-arm/usr/include/machine/limits.h \
/cygdrive/d/Development/android-ndk-r6/platforms/android-5/arch-arm/usr/include/sys/syslimits.h \
/cygdrive/d/Development/android-ndk-r6/platforms/android-5/arch-arm/usr/include/asm/signal.h \
/cygdrive/d/Development/android-ndk-r6/platforms/android-5/arch-arm/usr/include/asm-generic/signal.h \
/cygdrive/d/Development/android-ndk-r6/platforms/android-5/arch-arm/usr/include/sched.h

/cygdrive/d/Development/android-ndk-r6/platforms/android-5/arch-arm/usr/include/stdio.h:

/cygdrive/d/Development/android-ndk-r6/platforms/android-5/arch-arm/usr/include/sys/cdefs.h:

/cygdrive/d/Development/android-ndk-r6/platforms/android-5/arch-arm/usr/include/sys/cdefs_elf.h:

/cygdrive/d/Development/android-ndk-r6/platforms/android-5/arch-arm/usr/include/sys/_types.h:

/cygdrive/d/Development/android-ndk-r6/platforms/android-5/arch-arm/usr/include/machine/_types.h:

/cygdrive/d/Development/android-ndk-r6/platforms/android-5/arch-arm/usr/include/sys/types.h:

/cygdrive/d/Development/android-ndk-r6/platforms/android-5/arch-arm/usr/include/stdint.h:

/cygdrive/d/Development/android-ndk-r6/platforms/android-5/arch-arm/usr/include/linux/posix_types.h:

/cygdrive/d/Development/android-ndk-r6/platforms/android-5/arch-arm/usr/include/linux/stddef.h:

/cygdrive/d/Development/android-ndk-r6/platforms/android-5/arch-arm/usr/include/linux/compiler.h:

/cygdrive/d/Development/android-ndk-r6/platforms/android-5/arch-arm/usr/include/asm/posix_types.h:

/cygdrive/d/Development/android-ndk-r6/platforms/android-5/arch-arm/usr/include/asm/types.h:

include/linux/types.h:

/cygdrive/d/Development/android-ndk-r6/platforms/android-5/arch-arm/usr/include/machine/kernel.h:

/cygdrive/d/Development/android-ndk-r6/platforms/android-5/arch-arm/usr/include/sys/sysmacros.h:

/cygdrive/d/Development/android-ndk-r6/platforms/android-5/arch-arm/usr/include/stdlib.h:

/cygdrive/d/Development/android-ndk-r6/platforms/android-5/arch-arm/usr/include/string.h:

/cygdrive/d/Development/android-ndk-r6/platforms/android-5/arch-arm/usr/include/malloc.h:

/cygdrive/d/Development/android-ndk-r6/platforms/android-5/arch-arm/usr/include/alloca.h:

/cygdrive/d/Development/android-ndk-r6/platforms/android-5/arch-arm/usr/include/strings.h:

/cygdrive/d/Development/android-ndk-r6/platforms/android-5/arch-arm/usr/include/memory.h:

/cygdrive/d/Development/android-ndk-r6/platforms/android-5/arch-arm/usr/include/pthread.h:

/cygdrive/d/Development/android-ndk-r6/platforms/android-5/arch-arm/usr/include/time.h:

/cygdrive/d/Development/android-ndk-r6/platforms/android-5/arch-arm/usr/include/sys/time.h:

/cygdrive/d/Development/android-ndk-r6/platforms/android-5/arch-arm/usr/include/linux/time.h:

/cygdrive/d/Development/android-ndk-r6/platforms/android-5/arch-arm/usr/include/asm/siginfo.h:

/cygdrive/d/Development/android-ndk-r6/platforms/android-5/arch-arm/usr/include/asm-generic/siginfo.h:

/cygdrive/d/Development/android-ndk-r6/platforms/android-5/arch-arm/usr/include/signal.h:

/cygdrive/d/Development/android-ndk-r6/platforms/android-5/arch-arm/usr/include/limits.h:

/cygdrive/d/Development/android-ndk-r6/platforms/android-5/arch-arm/usr/include/sys/limits.h:

/cygdrive/d/Development/android-ndk-r6/platforms/android-5/arch-arm/usr/include/linux/limits.h:

/cygdrive/d/Development/android-ndk-r6/platforms/android-5/arch-arm/usr/include/machine/internal_types.h:

/cygdrive/d/Development/android-ndk-r6/platforms/android-5/arch-arm/usr/include/machine/limits.h:

/cygdrive/d/Development/android-ndk-r6/platforms/android-5/arch-arm/usr/include/sys/syslimits.h:

/cygdrive/d/Development/android-ndk-r6/platforms/android-5/arch-arm/usr/include/asm/signal.h:

/cygdrive/d/Development/android-ndk-r6/platforms/android-5/arch-arm/usr/include/asm-generic/signal.h:

/cygdrive/d/Development/android-ndk-r6/platforms/android-5/arch-arm/usr/include/sched.h:
Loading

0 comments on commit 4c31131

Please sign in to comment.