jarv / cmdchallenge

This repo is mirror of https://gitlab.com/jarv/cmdchallenge
https://about.cmdchallenge.com
MIT License
721 stars 71 forks source link

IPv4 listening ports accepts wrong answer, does not accept correct answer #149

Open 0ki opened 7 years ago

0ki commented 7 years ago

Summary

Challenge expects to only show tcp ports, excluding udp. This is not stated anywhere.

Steps to reproduce

https://cmdchallenge.com/#/IPv4_listening_ports

Sample of correct solution: cat netstat.out |awk '{print $1,$4}'|grep ^..p\ |cut -d : -f 2|sort -nru