Skip to content

RustScan scripts parser error #527

Closed

Description

@qwrdxer

Describe the bug

scripts\mod.rs , line 236
let arguments = shell_words::split(&to_run).expect("Failed to parse script arguments");

my to_run variable like:
python3 C:\Users\qwrdxer\.rustscan_scripts\test_script.py 192.22.105.149 22,111,25,110,3344,8080,8888

after call the func shell_words::split(&to_run)
image
the '\' was delete ! I don't know more about this lib , here is my environment:

os: windows10
ide: Clion

The temporary solution is
change
let arguments = shell_words::split(&to_run).expect("Failed to parse script arguments");
to
let arguments:Vec<String> =to_run.split_whitespace().map(|s| s.to_string()).collect();

screen shot

image
image

Activity

  1. added a commit that references this issue on Feb 6, 2024
    8a67294
  2. bee-san commented on Aug 22, 2024

    @bee-san
    Owner

    hi, we declared issue bankrupcty in april.

    reopening this as this still exists

  3. PsypherPunk commented on Nov 10, 2024

    @PsypherPunk
    Collaborator

    @qwrdxer, can you confirm if you're still seeing this in the current version?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions