Giter Club home page Giter Club logo

Comments (2)

zhenjl avatar zhenjl commented on July 1, 2024

Thanks @cryptix!

Unfortunately the scanner is not able to handle IPv6 addresses yet because of the various formats it can take. I haven't settled on a good way to parse it without hammering the scanner performance. I am trying a few things and hope to get something done soon.

from sequence.

zhenjl avatar zhenjl commented on July 1, 2024
go run ./sequence.go scan -m "Feb 06 13:37:00 box sshd[4388]: Accepted publickey for cryptix from dead:beef:1234:5678:223:32ff:feb1:2e50 port 58251 ssh2: RSA de:ad:be:ef:74:a6:bb:45:45:52:71:de:b2:12:34:56"
#   0: { Field="%funknown%", Type="%time%", Value="Feb 06 13:37:00", K=false, V=false }
#   1: { Field="%funknown%", Type="%literal%", Value="box", K=false, V=false }
#   2: { Field="%funknown%", Type="%literal%", Value="sshd", K=false, V=false }
#   3: { Field="%funknown%", Type="%literal%", Value="[", K=false, V=false }
#   4: { Field="%funknown%", Type="%integer%", Value="4388", K=false, V=false }
#   5: { Field="%funknown%", Type="%literal%", Value="]", K=false, V=false }
#   6: { Field="%funknown%", Type="%literal%", Value=":", K=false, V=false }
#   7: { Field="%funknown%", Type="%literal%", Value="Accepted", K=false, V=false }
#   8: { Field="%funknown%", Type="%literal%", Value="publickey", K=false, V=false }
#   9: { Field="%funknown%", Type="%literal%", Value="for", K=false, V=false }
#  10: { Field="%funknown%", Type="%literal%", Value="cryptix", K=false, V=false }
#  11: { Field="%funknown%", Type="%literal%", Value="from", K=false, V=false }
#  12: { Field="%funknown%", Type="%ipv6%", Value="dead:beef:1234:5678:223:32ff:feb1:2e50", K=false, V=false }
#  13: { Field="%funknown%", Type="%literal%", Value="port", K=false, V=false }
#  14: { Field="%funknown%", Type="%integer%", Value="58251", K=false, V=false }
#  15: { Field="%funknown%", Type="%literal%", Value="ssh2", K=false, V=false }
#  16: { Field="%funknown%", Type="%literal%", Value=":", K=false, V=false }
#  17: { Field="%funknown%", Type="%literal%", Value="RSA", K=false, V=false }
#  18: { Field="%funknown%", Type="%literal%", Value="de:ad:be:ef:74:a6:bb:45:45:52:71:de:b2:12:34:56", K=false, V=false }

from sequence.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.