This commit is contained in:
/jdi/ 2015-09-27 12:24:39 +02:00
parent b76fb38bc2
commit c99118b423
2 changed files with 52 additions and 0 deletions

22
Makefile Normal file
View file

@ -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)

30
dict.txt Normal file
View file

@ -0,0 +1,30 @@
change Password:
#512 Length: 6 Value: admin
#513 Length: 6 Value: admin
#514 Length: 10 Value: <oldPassword>
#515 Length: 10 Value: <newPassword>
login:
#2305 Length: 0 Value: (null)
#512 Length: 6 Value: admin
#514 Length: 10 Value: <Password>
#10 Length: 0 Value: (null)
#2 Length: 0 Value: (null)
change Hostname:
#2305 Length: 0 Value: (null)
#2 Length: 11 Value: <Hostname>
#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: <Password>