SPARC NOP Generator - Metasploit


This page contains detailed information about how to use the nop/sparc/random metasploit module. For list of all metasploit modules, visit the Metasploit Module Library.

Module Overview


Name: SPARC NOP Generator
Module: nop/sparc/random
Source code: modules/nops/sparc/random.rb
Disclosure date: -
Last modification time: 2018-08-27 11:24:38 +0000
Supported architecture(s): sparc
Supported platform(s): All
Target service / protocol: -
Target network port(s): -
List of CVEs: -

SPARC NOP generator

Module Ranking and Traits


Module Ranking:

  • normal: The exploit is otherwise reliable, but depends on a specific version and can't (or doesn't) reliably autodetect. More information about ranking can be found here.

Basic Usage


msf > use nop/sparc/random
msf nop(random) > show targets
    ... a list of targets ...
msf nop(random) > set TARGET target-id
msf nop(random) > show options
    ... show and set options ...
msf nop(random) > exploit

Go back to menu.

Msfconsole Usage


Here is how the nop/sparc/random module looks in the msfconsole:

msf6 > use nop/sparc/random

msf6 nop(sparc/random) > show info

       Name: SPARC NOP Generator
     Module: nop/sparc/random
   Platform: All
       Arch: sparc
       Rank: Normal

Provided by:
  vlad902 <[email protected]>

Description:
  SPARC NOP generator

Module Options


This is a complete list of options available in the nop/sparc/random module:

msf6 nop(sparc/random) > show options

Module options (nop/sparc/random):

   Name  Current Setting  Required  Description
   ----  ---------------  --------  -----------

Advanced Options


Here is a complete list of advanced options supported by the nop/sparc/random module:

msf6 nop(sparc/random) > show advanced

Module advanced options (nop/sparc/random):

   Name        Current Setting  Required  Description
   ----        ---------------  --------  -----------
   RandomNops  true             no        Generate a random NOP sled
   VERBOSE     false            no        Enable detailed status messages
   WORKSPACE                    no        Specify the workspace for this module

Go back to menu.

Error Messages


This module may fail with the following error messages:

Check for the possible causes from the code snippets below found in the module source code. This can often times help in identifying the root cause of the problem.

Invalid opcode type


Here is a relevant code snippet related to the "Invalid opcode type" error message:

103:	        when InsArithmetic
104:	          t = ins_arithmetic(r[1], blen - buff.length)
105:	        when InsBranch
106:	          t = ins_branch(r[1], blen - buff.length)
107:	        else
108:	          print_status("Invalid opcode type")
109:	          raise RuntimeError
110:	      end
111:	
112:	      failed = false
113:	

The SPARC nop generator could not create a usable sled


Here is a relevant code snippet related to the "The SPARC nop generator could not create a usable sled" error message:

122:	
123:	      if (count > length + 1000)
124:	        if(buff.length != 0)
125:	          return buff.slice(0, 4) * (blen / 4)
126:	        end
127:	        print_status("The SPARC nop generator could not create a usable sled")
128:	        raise RuntimeError
129:	      end
130:	
131:	      count += 1
132:	    end

Go back to menu.


Go back to menu.

See Also


Check also the following modules related to this module:

Authors


vlad902

Version


This page has been produced using Metasploit Framework version 6.1.29-dev. For more modules, visit the Metasploit Module Library.

Go back to menu.