credcollect

package module
v0.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 17, 2022 License: MIT Imports: 14 Imported by: 0

README

CredCollect

Automatic credential collection and storage with CredCollect.
Only plaintext passwords (excluding cookies and tokens) are extracted.

Supported Module

Linux Windows MacOS
Browser
FileZilla
Tomcat
Navicat
XShell/Xftp
WinScp
Seeyon OA
Docker Hub
ActiveMQ
CredManager

Usage

Command line execution

credcollect -h

CredCollect as a library

package main

import (
	"encoding/json"
	"fmt"

	"github.com/404tk/credcollect"
)

func main() {
	options := &credcollect.Options{Silent: true}
	res := options.Enumerate()
	r, err := json.MarshalIndent(res, "", "\t")
	if err != nil {
		panic(err)
	}
	fmt.Println(string(r))
}

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

License

This repo is released under the MIT License.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	Silent bool
	Output string
}

func (*Options) Enumerate

func (opt *Options) Enumerate() Output

func (*Options) PrintResult

func (opt *Options) PrintResult(res Output)

type Output

type Output struct {
	Browser   []common.BrowserPassword
	Navicat   []common.NavicatPassWord
	XShell    []common.XShellPassWord
	FileZilla []common.FileZillaPassWord
	WinScp    []common.WinScpPassWord
	SeeyonOA  []common.SeeyonPassWord
	DockerHub []common.DockerHubPassWord
	Tomcat    []common.TomcatPassWord
	ActiveMQ  []common.ActiveMQPassWord
	WinCred   []common.WinCred
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL