From c99118b423a96049d97879dc4de0f60126190a0c Mon Sep 17 00:00:00 2001 From: /jdi/ Date: Sun, 27 Sep 2015 12:24:39 +0200 Subject: [PATCH] clean up --- Makefile | 22 ++++++++++++++++++++++ dict.txt | 30 ++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) create mode 100644 Makefile create mode 100644 dict.txt diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..437960c --- /dev/null +++ b/Makefile @@ -0,0 +1,22 @@ + # the compiler: gcc for C program, define as g++ for C++ +CC = g++ + + # compiler flags: + # -g adds debugging information to the executable file + # -Wall turns on most, but not all, compiler warnings +CFLAGS = -g -Wall -lrt -std=c++11 + + # the build target executable: +TARGET = smrtlink + +all: $(TARGET) + +$(TARGET): $(TARGET).o + $(CC) $(CFLAGS) -o $(TARGET) $(TARGET).o + +$(TARGET).o: src/*.cpp + $(CC) $(CFLAGS) src/*.cpp src/*.h + +clean: + $(RM) $(TARGET) + diff --git a/dict.txt b/dict.txt new file mode 100644 index 0000000..5f74a0d --- /dev/null +++ b/dict.txt @@ -0,0 +1,30 @@ +change Password: + #512 Length: 6 Value: admin + #513 Length: 6 Value: admin + #514 Length: 10 Value: + #515 Length: 10 Value: + + + +login: + #2305 Length: 0 Value: (null) + + #512 Length: 6 Value: admin + #514 Length: 10 Value: + + #10 Length: 0 Value: (null) + + #2 Length: 0 Value: (null) + + + +change Hostname: + #2305 Length: 0 Value: (null) + + #2 Length: 11 Value: + #4 Length: 4 Dec: 192.168.0.5 + #5 Length: 4 Dec: 255.255.255.0 + #6 Length: 4 Dec: 0.0.0.0 + #9 Length: 1 Hex: 00 + #512 Length: 6 Value: admin + #514 Length: 17 Value: \ No newline at end of file