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.
Related Pull Requests
- #10531 Merged Pull Request: avoid inserting a float into instruction generation randomly in sparc nops generator
- #8716 Merged Pull Request: Print_Status -> Print_Good (And OCD bits 'n bobs)
- #8338 Merged Pull Request: Fix msf/core and self.class msftidy warnings
- #6655 Merged Pull Request: use MetasploitModule as a class name
- #6648 Merged Pull Request: Change metasploit class names
- #2525 Merged Pull Request: Change module boilerplate
- #1241 Merged Pull Request: Removed all $Id$ and $Revision$ occurences
- #674 Merged Pull Request: Comply with msftidy
Go back to menu.
See Also
Check also the following modules related to this module:
- nop/aarch64/simple
- nop/armle/simple
- nop/cmd/generic
- nop/mipsbe/better
- nop/php/generic
- nop/ppc/simple
- nop/tty/generic
- nop/x64/simple
- nop/x86/opty2
- nop/x86/single_byte
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.