Jump to content
RootJunky

[PAYLOAD] CrocInfo

Recommended Posts

CrocInfo

by RootJunky

Croc info grabber is a simple script to be able to grab a bunch of info about your Key Croc with a simple command ( crocinfo ) This payload is best used for development when you only have one pc to develop and test on.  This payload will return Key Croc Firmware, IP, DNS, User, Password, Hostname, SSH, and current Attack Mode. Place file in payloads folder and type crocinfo on target keyboard in a notepad to display crocinfo

 

croc-info-payload.txt

# Title:         Key Croc Info Grabber
# Description:   Returns Info on the Key Croc
# Author:        RootJunky
# Version:       1.0
# Category:      Key Croc
#
#
MATCH crocinfo
QUACK LOCK
QUACK ENTER
QUACK ENTER
QUACK STRING "CROC FIRMWARE: "
QUACK STRING $(cat /root/udisk/version.txt)
QUACK ENTER
QUACK ENTER
QUACK STRING "IP: "
QUACK STRING $(ifconfig wlan0 | grep "inet addr" | awk {'print $2'} | cut -c 6-)
QUACK ENTER
QUACK STRING "DNS: "
QUACK STRING $(sed -n -e 4p /etc/resolv.conf)
QUACK ENTER
QUACK STRING "DNS: "
QUACK STRING $(sed -n -e 5p /etc/resolv.conf)
QUACK ENTER
QUACK ENTER
QUACK STRING "USER: "
QUACK STRING $(whoami)
QUACK ENTER
QUACK ENTER
QUACK STRING "PASSWORD: "
QUACK STRING "hak5croc"
QUACK ENTER
QUACK ENTER
QUACK STRING "HOSTNAME: "
QUACK STRING $(cat /proc/sys/kernel/hostname)
QUACK ENTER
QUACK ENTER
QUACK STRING "SSH: "
QUACK STRING "ssh root@"
QUACK STRING $(ifconfig wlan0 | grep "inet addr" | awk {'print $2'} | cut -c 6-)
QUACK ENTER
QUACK ENTER
QUACK STRING "MODE: "
QUACK STRING $(cat /tmp/mode)
QUACK ENTER
QUACK ENTER
QUACK UNLOCK



#Default Settings
#username: root
#password: hak5croc
#hostname: croc

 

My Results

crocinfo

CROC FIRMWARE:1.2_475

IP:192.168.1.36
DNS:nameserver 1.1.1.1
DNS:nameserver 8.8.8.8

USER:root

PASSWORD:hak5croc

HOSTNAME:croc

SSH:ssh root@192.168.1.36

MODE:HID VID_0X046D PID_0XC52B

Big thanks to Hak5 for this awesome and fun Key Croc.

Developed by RootJunky

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...