Lucene search
K

Simple

🗓️ 31 Aug 2017 10:48:58Reported by timwrType 
metasploit
 metasploit
🔗 www.rapid7.com👁 23 Views

This class implements simple NOP generator for AARCH6

Code
##
# This module requires Metasploit: https://metasploit.com/download
# Current source: https://github.com/rapid7/metasploit-framework
##

###
#
# SingleByte
# ----------
#
# This class implements simple NOP generator for AARCH64
#
###
class MetasploitModule < Msf::Nop

  def initialize
    super(
      'Name'        => 'Simple',
      'Alias'       => 'armle_simple',
      'Description' => 'Simple NOP generator',
      'License'     => MSF_LICENSE,
      'Author'      => ['timwr'],
      'Arch'        => ARCH_AARCH64)
    register_advanced_options(
      [
        OptBool.new('RandomNops', [ false, "Generate a random NOP sled", true ])
      ])
  end

  def generate_sled(length, opts)
    random   = opts['Random']   || datastore['RandomNops']
    nops = [
      0xd503201f,          #  nop
      0xaa0103e1,          #  mov	x1, x1
      0xaa0203e2,          #  mov	x2, x2
      0x2a0303e3,          #  mov	w3, w3
      0x2a0403e4,          #  mov	w4, w4
    ]
    if random
      return ([nops[rand(nops.length)]].pack("V*") * (length/4))
    end
    return ([nops[0]].pack("V*") * (length/4))
  end
end

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

04 Apr 2023 09:27Current
7.1High risk
Vulners AI Score7.1
23