We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a27d491 + a6ccce8 commit feb9ebdCopy full SHA for feb9ebd
Gemfile.lock
@@ -402,7 +402,7 @@ GEM
402
reline (0.5.8)
403
io-console (~> 0.5)
404
require_all (3.0.0)
405
- rex-arch (0.1.15)
+ rex-arch (0.1.16)
406
rex-text
407
rex-bin_tools (0.1.9)
408
metasm
lib/msf/core/post/linux/kernel.rb
@@ -71,6 +71,9 @@ def kernel_arch
71
return ARCH_MIPS if arch == 'mips'
72
return ARCH_MIPS64 if arch == 'mips64'
73
return ARCH_SPARC if arch == 'sparc'
74
+ return ARCH_RISCV32LE if arch == 'riscv32'
75
+ return ARCH_RISCV64LE if arch == 'riscv64'
76
+ return ARCH_LOONGARCH64 if arch == 'loongarch64'
77
arch
78
end
79
0 commit comments