Giter Club home page Giter Club logo

dfis-utils's Introduction

Hi there ๐Ÿ‘‹

dfis-utils's People

Contributors

0xb000 avatar aureleoules avatar dependabot[bot] avatar dtharaka avatar fguisso avatar gaurav-gogia avatar ibraimgm avatar ilmanzo avatar joelpagliuca avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

dfis-utils's Issues

Issue in network-utility tool

The following issue had been observed while running the network utility tool-

Souviks-MacBook-Pro:net-utils souvik$ go run main.go 
Looking up hostnames for IP ....
kix06s01-in-f244.1e100.net.

Looking up IPs for hostname ....
172.217.27.212
2404:6800:4009:800::2014

Looking up MX records ....
Host: gmr-smtp-in.l.google.com., Pref: 5
Host: alt1.gmr-smtp-in.l.google.com., Pref: 10
Host: alt2.gmr-smtp-in.l.google.com., Pref: 20
Host: alt3.gmr-smtp-in.l.google.com., Pref: 30
Host: alt4.gmr-smtp-in.l.google.com., Pref: 40

Looking up nameservers ....

Scanning ports ....
Port: 80, IP: 216.58.196.244
Port: 443, IP: 216.58.196.244
runtime/cgo: pthread_create failed: Resource temporarily unavailable
runtime/cgo: pthread_create failed: Resource temporarily unavailable
runtime/cgo: pthread_create failed: Resource temporarily unavailable
SIGABRT: abort
PC=0x7fff651412c6 m=1548 sigcode=0

goroutine 0 [idle]:
runtime: unknown pc 0x7fff651412c6
stack: frame={sp:0x700032d19c58, fp:0x0} stack=[0x700032c9a2b0,0x700032d19eb0)
0000700032d19b58:  00007fff651f86a0  0000020000000200 
0000700032d19b68:  0000000000000000  0000020000000200 
0000700032d19b78:  00007fff9b896240  000000000000003c 
0000700032d19b88:  0000000001173c40  0000700032d19bb0 
0000700032d19b98:  00007fff6508a616  00007fff9b896240 
0000700032d19ba8:  0000000000000045  0000700032d19be0 
0000700032d19bb8:  00007fff65092e2d  0000000000000023 
0000700032d19bc8:  00000000000000f1  00007fff9b896240 
0000700032d19bd8:  0000700032d19cf0  0000700032d19cc0 
0000700032d19be8:  00007fff6508bbc5  00007fff9afab220 
0000700032d19bf8:  000000000000003c  00007fff650d3a92 
0000700032d19c08:  00007fff650d3a92  0000000000000000 
0000700032d19c18:  0000000001312d00  0000700032d19c60 
0000700032d19c28:  00007fff650ca91d  0000000001001380 <threadentry+0> 
0000700032d19c38:  0000000000000023runtime/cgo: pthread_create failed: Resource temporarily unavailable
  0000000001001380 <threadentry+0> 
0000700032d19c48:  0000000000000023  0000000000000014 
0000700032d19c58: <00007fff651fcbf1  0000700032d1a000 
0000700032d19c68:  0000700032d19ca8  00000000000000f1 
0000700032d19c78:  0000000000000000  00007fff9b896240 
0000700032d19c88:  0000700032d19cf0  0000700032d19cc0 
0000700032d19c98:  00007fff650ab6a6  0000003000000018 
0000700032d19ca8:  00007000ffffffdf  ffffffff32d19bf0 
0000700032d19cb8:  0000000000000023  0000700032d19d50 
0000700032d19cc8:  0000000001001375 <_cgo_sys_thread_start+213>  00007fff9b8a9000 
0000700032d19cd8:  0000000000000018  0000000000080000 
0000700032d19ce8:  ffffffff651b0c99  0000000054484441 
0000700032d19cf8:  0000000000000000  0000000000000000 
0000700032d19d08:  0000000000000000  00000000000008ff 
0000700032d19d18:  0000000010010101  0000000000000000 
0000700032d19d28:  0000000000000000  45c465c22bf600ca 
0000700032d19d38:  0000700032d19dc0  000000000116ea3c 
0000700032d19d48:  0000000000000000  0000700032d19dd8 
runtime: unknown pc 0x7fff651412c6
stack: frame={sp:0x700032d19c58, fp:0x0} stack=[0x700032c9a2b0,0x700032d19eb0)
0000700032d19b58:  00007fff651f86a0  0000020000000200 
0000700032d19b68:  0000000000000000  0000020000000200 
0000700032d19b78:  00007fff9b896240  000000000000003c 
0000700032d19b88:  0000000001173c40  0000700032d19bb0 
0000700032d19b98:  00007fff6508a616  00007fff9b896240 
0000700032d19ba8:  0000000000000045  0000700032d19be0 
0000700032d19bb8:  00007fff65092e2d  0000000000000023 
0000700032d19bc8:  00000000000000f1  00007fff9b896240 
0000700032d19bd8:  0000700032d19cf0  0000700032d19cc0 
0000700032d19be8:  00007fff6508bbc5  00007fff9afab220 
0000700032d19bf8:  000000000000003c  00007fff650d3a92 
0000700032d19c08:  00007fff650d3a92  0000000000000000 
0000700032d19c18:  0000000001312d00  0000700032d19c60 
0000700032d19c28:  00007fff650ca91d  0000000001001380 <threadentry+0> 
0000700032d19c38:  0000000000000023  0000000001001380 <threadentry+0> 
0000700032d19c48:  0000000000000023  0000000000000014 
0000700032d19c58: <00007fff651fcbf1  0000700032d1a000 
0000700032d19c68:  0000700032d19ca8  00000000000000f1 
0000700032d19c78:  0000000000000000  00007fff9b896240 
0000700032d19c88:  0000700032d19cf0  0000700032d19cc0 
0000700032d19c98:  00007fff650ab6a6  0000003000000018 
0000700032d19ca8:  00007000ffffffdf  ffffffff32d19bf0 
0000700032d19cb8:  0000000000000023  0000700032d19d50 
0000700032d19cc8:  0000000001001375 <_cgo_sys_thread_start+213>  00007fff9b8a9000 
0000700032d19cd8:  0000000000000018  0000000000080000 
0000700032d19ce8:  ffffffff651b0c99  0000000054484441 
0000700032d19cf8:  0000000000000000  0000000000000000 
0000700032d19d08:  0000000000000000  00000000000008ff 
0000700032d19d18:  0000000010010101  0000000000000000 
0000700032d19d28:  0000000000000000  45c465c22bf600ca 
0000700032d19d38:  0000700032d19dc0  000000000116ea3c 
0000700032d19d48:  0000000000000000  0000700032d19dd8 

goroutine 7493 [syscall]:
syscall.syscall(0x108b240, 0x1b43, 0x0, 0x0, 0x0, 0x0, 0x0)
        /usr/local/Cellar/go/1.13/libexec/src/runtime/sys_darwin.go:63 +0x2e fp=0xc009e90760 sp=0xc009e90738 pc=0x104946e
syscall.Close(0x1b43, 0xc0005c61e0, 0xc009e907f8)
        /usr/local/Cellar/go/1.13/libexec/src/syscall/zsyscall_darwin_amd64.go:519 +0x4c fp=0xc009e907a8 sp=0xc009e90760 pc=0x1089eac
internal/poll.(*FD).destroy(0xc002932780, 0x1, 0x6202c70)
        /usr/local/Cellar/go/1.13/libexec/src/internal/poll/fd_unix.go:78 +0x43 fp=0xc009e907e0 sp=0xc009e907a8 pc=0x1096243
internal/poll.(*FD).decref(0xc002932780, 0x1b01, 0xffff)
        /usr/local/Cellar/go/1.13/libexec/src/internal/poll/fd_mutex.go:213 +0x42 fp=0xc009e90808 sp=0xc009e907e0 pc=0x1095792
internal/poll.(*FD).Close(0xc002932780, 0xc002932780, 0x0)
        /usr/local/Cellar/go/1.13/libexec/src/internal/poll/fd_unix.go:100 +0x4f fp=0xc009e90840 sp=0xc009e90808 pc=0x109630f
net.(*netFD).Close(0xc002932780, 0x1174280, 0xc009de4480)
        /usr/local/Cellar/go/1.13/libexec/src/net/fd_unix.go:184 +0x4f fp=0xc009e90870 sp=0xc009e90840 pc=0x10c7eff
net.socket(0x1174280, 0xc009de4480, 0x114b2de, 0x3, 0x2, 0x1, 0x0, 0x0, 0x11746e0, 0x0, ...)
        /usr/local/Cellar/go/1.13/libexec/src/net/sock_posix.go:71 +0x1ed fp=0xc009e90928 sp=0xc009e90870 pc=0x10d8cfd
net.internetSocket(0x1174280, 0xc009de4480, 0x114b2de, 0x3, 0x11746e0, 0x0, 0x11746e0, 0xc009ca6c60, 0x1, 0x0, ...)
        /usr/local/Cellar/go/1.13/libexec/src/net/ipsock_posix.go:141 +0x141 fp=0xc009e909b8 sp=0xc009e90928 pc=0x10d0f91
net.(*sysDialer).doDialTCP(0xc009d64880, 0x1174280, 0xc009de4480, 0x0, 0xc009ca6c60, 0x1120b60, 0x1261900, 0x0)
        /usr/local/Cellar/go/1.13/libexec/src/net/tcpsock_posix.go:65 +0xc2 fp=0xc009e90a70 sp=0xc009e909b8 pc=0x10dbab2
net.(*sysDialer).dialTCP(0xc009d64880, 0x1174280, 0xc009de4480, 0x0, 0xc009ca6c60, 0xc0809c3262, 0xc00010ec00, 0xc009e90b38)
        /usr/local/Cellar/go/1.13/libexec/src/net/tcpsock_posix.go:signal: abort trap
Souviks-MacBook-Pro:net-utils souvik$ 

write test cases

Test cases should help in keeping this repo a bit more professional. Let's write some with filename_test.go and that should help others who might want to see if it works or not :)

tool ideas

Let's add more tools, do suggest what do you want to see in this project please. Just update the tool_ideas.md file and that PR will be counted. Please follow this format while sharing tool idea so when someone else reads they will understand its need

Name

Description

  1. Reason 1
  2. Reason 2
  3. Reason 3

create more issues

Try to use different tools and please let me know if they are helpful for you or if you find any issues while using them. This will help in improving quality ^.^

Add decryption capability in crypto suite

the feature should be able to
input in cli
so when the file is ciphered a password should be given to it which could help in the knowing which file is to be deciphered with which password and the user will then use the password to decipher the given file
for better security add password in hash and
compare the hash to unlock decipher for the inputted file

Consider creation of a dockerfile to compile the project

Since one of the dependencies to build the project is libpcap 0.8, might be interesting to provide dockerfile to build the application. This way, the user is not "forced" to hunt for compilation dependencies (and you also have the option to provide a pre-built docker image for testing).

create more

Let's pick some tools from the tool_ideas.md file and start working on them one by one. It doesn't have to be like production quality right off the bat. We can make it better as we move further. And we'll try avoiding external libraries as much as we can.

If you are new to Go programming but are still interested then that is also totally fine. Just comment what you can do and I'll try to find some issue for you. I'm just trying be as inclusive as possible.

convert into cli

Each folder has its own main package file. I was wondering if a simple CLI added for each so that they could be run more easily. More details can be discussed in this thread.

I get that my above description is a bit vague but its just that I couldn't find better words. I'll try my best to answer your queries though

Documentation

I could use some help with documentation of different tools so it would be easier for those who might want to use them ^.^

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.