-
Notifications
You must be signed in to change notification settings - Fork 378
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use the PPPoE password to determine the system version #56
base: master
Are you sure you want to change the base?
Changes from all commits
ddad800
7ad35f5
0004acc
a9d257a
5931098
fb13fd1
2bd7673
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,14 +17,19 @@ class OffsetsFirmware_750_755: | |
|
||
MEMCPY = 0xffffffff8248f800 | ||
|
||
# Not available on FW >= 6.50 | ||
# 0xffffffff82200000 : mov cr0, rsi ; mov eax, 1 ; ret | ||
MOV_CR0_RSI_MOV_EAX_1_RET = 0xffffffff82200000 | ||
|
||
# Not necessary on FW < 6.50 | ||
# 0xffffffffe19d9cf9 : mov cr0, rsi ; ud2 ; mov eax, 1 ; ret | ||
MOV_CR0_RSI_UD2_MOV_EAX_1_RET = 0xffffffff825a2589 | ||
|
||
SECOND_GADGET_OFF = 0x3b | ||
|
||
# 0xffffffff824095e7 : jmp qword ptr [rsi + 0x3b] | ||
FIRST_GADGET = 0xffffffff824095e7 | ||
|
||
# 0xffffffff82c90516 : push rbp ; jmp qword ptr [rsi] | ||
PUSH_RBP_JMP_QWORD_PTR_RSI = 0xffffffff82c90516 | ||
|
||
|
@@ -57,7 +62,7 @@ class OffsetsFirmware_750_755: | |
|
||
# 0xffffffff82227fa7 : pop r8 ; pop rbp ; ret | ||
POP_R8_POP_RBP_RET = 0xffffffff82227fa7 | ||
|
||
# 0xffffffff827dc32f : pop r12 ; ret | ||
POP_R12_RET = 0xffffffff827dc32f | ||
|
||
|
@@ -111,6 +116,11 @@ class OffsetsFirmware_800_803: | |
|
||
MEMCPY = 0xffffffff8245e1c0 | ||
|
||
# Not available on FW >= 6.50 | ||
# 0xffffffff82200000 : mov cr0, rsi ; mov eax, 1 ; ret | ||
MOV_CR0_RSI_MOV_EAX_1_RET = 0xffffffff82200000 | ||
|
||
# Not necessary on FW < 6.50 | ||
# 0xffffffff82660609 : mov cr0, rsi ; ud2 ; mov eax, 1 ; ret | ||
MOV_CR0_RSI_UD2_MOV_EAX_1_RET = 0xffffffff82660609 | ||
|
||
|
@@ -205,6 +215,11 @@ class OffsetsFirmware_850_852: | |
|
||
MEMCPY = 0xffffffff825a40f0 | ||
|
||
# Not available on FW >= 6.50 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why do you have these comments There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Pre 6.50 you don't have the ud2 in that gadget, we can actually remove the Or we can remove the conditional when the gadget is used and just use one of them for both (variable name won't match contents). There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Well please remove them |
||
# 0xffffffff82200000 : mov cr0, rsi ; mov eax, 1 ; ret | ||
MOV_CR0_RSI_MOV_EAX_1_RET = 0xffffffff82200000 | ||
|
||
# Not necessary on FW < 6.50 | ||
# 0xffffffff823ce849 : mov cr0, rsi ; ud2 ; mov eax, 1 ; ret | ||
MOV_CR0_RSI_UD2_MOV_EAX_1_RET = 0xffffffff823ce849 | ||
|
||
|
@@ -299,6 +314,11 @@ class OffsetsFirmware_900: | |
|
||
MEMCPY = 0xffffffff824714b0 | ||
|
||
# Not available on FW >= 6.50 | ||
# 0xffffffff82200000 : mov cr0, rsi ; mov eax, 1 ; ret | ||
MOV_CR0_RSI_MOV_EAX_1_RET = 0xffffffff82200000 | ||
|
||
# Not necessary on FW < 6.50 | ||
# 0xffffffff823fb949 : mov cr0, rsi ; ud2 ; mov eax, 1 ; ret | ||
MOV_CR0_RSI_UD2_MOV_EAX_1_RET = 0xffffffff823fb949 | ||
|
||
|
@@ -392,6 +412,11 @@ class OffsetsFirmware_903_904: | |
|
||
MEMCPY = 0xffffffff82471130 | ||
|
||
# Not available on FW >= 6.50 | ||
# 0xffffffff82200000 : mov cr0, rsi ; mov eax, 1 ; ret | ||
MOV_CR0_RSI_MOV_EAX_1_RET = 0xffffffff82200000 | ||
|
||
# Not necessary on FW < 6.50 | ||
# 0xffffffff823fb679 : mov cr0, rsi ; ud2 ; mov eax, 1 ; ret | ||
MOV_CR0_RSI_UD2_MOV_EAX_1_RET = 0xffffffff823fb679 | ||
|
||
|
@@ -486,6 +511,12 @@ class OffsetsFirmware_950_960: | |
|
||
MEMCPY = 0xffffffff82401cc0 | ||
|
||
# Not available on FW >= 6.50 | ||
# 0xffffffff82200000 : mov cr0, rsi ; mov eax, 1 ; ret | ||
MOV_CR0_RSI_MOV_EAX_1_RET = 0xffffffff82200000 | ||
|
||
# Not necessary on FW < 6.50 | ||
# 0xffffffff822bea79 : mov cr0, rsi ; ud2 ; mov eax, 1 ; ret | ||
MOV_CR0_RSI_UD2_MOV_EAX_1_RET = 0xffffffff822bea79 | ||
|
||
SECOND_GADGET_OFF = 0x3b | ||
|
@@ -579,6 +610,11 @@ class OffsetsFirmware_1000_1001: | |
|
||
MEMCPY = 0xffffffff82672d20 | ||
|
||
# Not available on FW >= 6.50 | ||
# 0xffffffff82200000 : mov cr0, rsi ; mov eax, 1 ; ret | ||
MOV_CR0_RSI_MOV_EAX_1_RET = 0xffffffff82200000 | ||
|
||
# Not necessary on FW < 6.50 | ||
# 0xffffffff82376089 : mov cr0 rsi ; ud2 ; mov eax 1; ret | ||
MOV_CR0_RSI_UD2_MOV_EAX_1_RET = 0xffffffff82376089 | ||
|
||
|
@@ -673,6 +709,12 @@ class OffsetsFirmware_1050_1071: | |
|
||
MEMCPY = 0xffffffff822d7370 | ||
|
||
# Not available on FW >= 6.50 | ||
# 0xffffffff82200000 : mov cr0, rsi ; mov eax, 1 ; ret | ||
MOV_CR0_RSI_MOV_EAX_1_RET = 0xffffffff82200000 | ||
|
||
# Not necessary on FW < 6.50 | ||
# 0xffffffff82285f39 : mov cr0 rsi ; ud2 ; mov eax 1; ret | ||
MOV_CR0_RSI_UD2_MOV_EAX_1_RET = 0xffffffff82285f39 | ||
|
||
SECOND_GADGET_OFF = 0x3b | ||
|
@@ -766,6 +808,11 @@ class OffsetsFirmware_1100: | |
|
||
MEMCPY = 0xffffffff824dddf0 | ||
|
||
# Not available on FW >= 6.50 | ||
# 0xffffffff82200000 : mov cr0, rsi ; mov eax, 1 ; ret | ||
MOV_CR0_RSI_MOV_EAX_1_RET = 0xffffffff82200000 | ||
|
||
# Not necessary on FW < 6.50 | ||
# 0xffffffff824f1299 : mov cr0, rsi ; ud2 ; mov eax, 1 ; ret | ||
MOV_CR0_RSI_UD2_MOV_EAX_1_RET = 0xffffffff824f1299 | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why PS5??