mirror of https://github.com/daffainfo/nuclei.git
Small bugfix with stdin input
parent
c3fcd768a5
commit
b7736b4ac7
|
@ -40,7 +40,7 @@ func New(options *Options) (*Runner, error) {
|
|||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if _, err = io.Copy(os.Stdin, tempInput); err != nil {
|
||||
if _, err := io.Copy(tempInput, os.Stdin); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
runner.tempFile = tempInput.Name()
|
||||
|
|
Loading…
Reference in New Issue