Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
Cryton Documentation
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Cryton
Cryton Documentation
Commits
80c407d6
Commit
80c407d6
authored
1 year ago
by
Jiří Rája
Browse files
Options
Downloads
Patches
Plain Diff
Added session types warning
parent
3d15be99
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/design-phase/step.md
+10
-0
10 additions, 0 deletions
docs/design-phase/step.md
with
10 additions
and
0 deletions
docs/design-phase/step.md
+
10
−
0
View file @
80c407d6
...
@@ -217,6 +217,16 @@ he is using, the *use_any_session_to_target* parameter can be used.
...
@@ -217,6 +217,16 @@ he is using, the *use_any_session_to_target* parameter can be used.
...
...
```
```
!!! warning "Session types"
Metasploit Framework supports two types of sessions.
The first is a shell session, you can run any shell commands you want.
The second is called Meterpreter. It allows you to use it's provided commands, such as `
ifconfig
` or `
sysinfo
`.
To run a command in a shell, you need to use the `
execute
` command with the `
-f
`, `
-i
`, and `
-a
` options (`
execute -f
<command>
-i -a
<arguments>
`).
In some cases, the command execution can fail. Before creating a plan, make sure it works for your target system/exploit.
## Output sharing
## Output sharing
Output sharing is used for sharing gained data (*serialized_output*) between multiple steps. To go through the data we use a modified
Output sharing is used for sharing gained data (*serialized_output*) between multiple steps. To go through the data we use a modified
version of a dot notation.
version of a dot notation.
...
...
This diff is collapsed.
Click to expand it.
Ghost User
@ghost
mentioned in commit
f8a11b68
·
1 year ago
mentioned in commit
f8a11b68
mentioned in commit f8a11b682bfc5aada5b137b4f3b39332f0844adf
Toggle commit list
Ghost User
@ghost
mentioned in commit
98b58db4
·
1 year ago
mentioned in commit
98b58db4
mentioned in commit 98b58db4b81658a1ca935ef8274e7a9ddcd1038e
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment