Coder Social home page Coder Social logo

lanturtle-modules's People

Contributors

ceramicskate0 avatar dallaswinger avatar foxtrot avatar germannoob avatar gigstorm avatar hak5darren avatar imcpwn avatar jmkebalo avatar koalav2 avatar lowland3r avatar mmdj4u avatar monsieurmarc avatar sebkinne avatar shadgit avatar smythtech avatar sn0wfa11 avatar timxom avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

lanturtle-modules's Issues

Autossh enabled not connecting on start up

Hi. In my lanturtle in autossh when I click connect it work. The autossh is enabled to start on boot. I try desabling and reenabling. Everytime it's not connecting by itself. Any idea how to fix this.

OpenVPN not working

When copying my .ovpn file to the turtle an error shows briefly. It says

/etc/turtle/modules/openvpn: line: 32 2594 Segmentation fault dialog --help-button --title "OpenVPN Configuration: /etc/openvpn/my-vpn.conf" --editbox /etc/openvpn/my-vpn.conf 18 72 2> $CONF

That is all i see due to overlapping.

FYI:
i have the newest version of the turtle software, openvpn, as well as a newer turtle unit.

The general problem is that the turtle wont connect to my server. Using a mobile works fine

In advance:
Thanks for any help or advice

Errors when running quickcreds

I updated to the latest firmware. I installed all of the modules and update them. I tried to run quickcreds and I'm getting these errors

etc/turtle/modules/quickcreds: line 128: echo: write error: Invalid argument
/etc/turtle/modules/quickcreds: line 129: /usr/bin/sleep: No such file or directory
/etc/turtle/modules/quickcreds: line 130: echo: write error: Invalid argument
/etc/turtle/modules/quickcreds: line 131: /usr/bin/sleep: No such file or directory

I assume the "Sleep Issue" is my path to sleep is this

root@turtle:~# which sleep
/bin/sleep

when I replace /usr/bin/sleep with /bin/sleep those messages go away

However, I don't know what the issue issue is with the "invalid argument". When I run those commands at the command line they work fine, however, I still get the invalid argument errors on these two commands even though they work at the command line
echo 255 > /sys/class/leds/lan-turtle:orange:system/brightness
echo 0 > /sys/class/leds/lan-turtle:orange:system/brightness

meh

Update responder module

I believe Responder is no longer maintained at SpiderLabs' GitHub repo, but at @lgandx instead; therefore the 'responder' module needs updating to pull from the right repository.

0008: value too great for base (error token is "0008")

This error stops the QuickCreds module from starting after the /root/loot directories 0001 through 0008 have been created. This is because bash interprets 0008 as an octal number and doesn't know how to add 1 to it.

You can fix this by changing this line:
newdir=$((++lastdir))

to this:
newdir=$((10#$lastdir + 1))

Responder Bug

  1. git clone on line 105 of responder script git not installed by default and causes error when attempting to run from /etc/turtle/responder/responder.py file not found.
  • 'opkg install git' works on turtle to solve issue.
  1. For record. User forum shows file size issues with installing git and opkg fails with url in script. opkg pre req installs fail on lines 79-98. (issue not observed on my box)
  • manual install of each depends from line 79-98 from bash works after issue 1 resolved.
  1. Space issue when using git clone 'git://github.com/lgandx/Responder'.
    root@turtle:/etc/turtle/Responder# git clone git://github.com/lgandx/Responder
    Cloning into 'Responder'...
    warning: templates not found /usr/share/git-core/templates
    remote: Enumerating objects: 3, done.
    remote: Counting objects: 100% (3/3), done.
    remote: Compressing objects: 100% (3/3), done.
    fatal: write error: No space left on deviceKiB | 14.00 KiB/s
    fatal: index-pack failed

Missing parameter for the autossh module

Hi Hak5,

I was trying to setup autossh over ptunnel with the lanturtle. It just wouldn't work... After some research, I stumbled over this thread:
https://forums.hak5.org/index.php?/topic/38552-ptunnel-autossh-config/

As stated in the post:

The Problem was that there is no Input field for the port of the host the ssh connection is established to.

I've tested the enclosed code and everything seems to run okay. Would it be possible to fix it in the official repo?

Cheers, and keep up the great work,

ArnCo

meterpreter-https module broken since ~2017

Using the Python payload on modern installations of metaploit will send a compressed payload to the LAN turtle. It is expected that the payload with be un-base64'd and then Python's zlib module used to decompress the payload before executing (see rapid7/metasploit-framework#8387)

The Python zlib module doesn't work on the LAN turtle (missing ctypes module, see https://gist.github.com/colinmarc/2152055)

The workaround, currently, is to generate a mipsbe payload (payloads/linux/mipsbe/meterpreter_reverse_https) and replace /etc/turtle/meterpreter/met-https-shell with it. The sshfs module helps with this process.

Furthermore, the command ps | grep -w -q [/]etc/turtle/meterpreter/met-https-worker found here will always return false and replacing it with "met-https-worker" will also return false as the output of ps will truncate to {met-https-worke}. This causes the turtle module to think that it was never started, which means stopping the module needs to happen manually by running kill $(pgrep -f met-https-worker) in the shell.

LAN Turtle SCP command

So I try to run the scp device.config [email protected]:/etc/ on Windows 10 command prompt with being sshed into the LAN Turtle and I get this error device.config: No such file or directory

How do you fix this?

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.