Skip to content

windows与linux环境下行分隔符不一致导致的错误 #27

@dayutech

Description

@dayutech
  • windows行分割符为“\r\n”
  • linux 行分隔符为“\n”
    由windows系统赋值到linux系统中的payload字典文件在解析后变成
    image
    究其原因是在读取payload并处理的时候在utils.py#read_file_to_array函数中使用了replace函数,建议修改为line.strip()
    image

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