Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

For me, it consistently likes to imagine itself an Ubuntu 18.04 machine:

> cat /etc/*-release

  DISTRIB_ID=Ubuntu
  DISTRIB_RELEASE=18.04
  DISTRIB_CODENAME=bionic
  DISTRIB_DESCRIPTION="Ubuntu 18.04.5 LTS"
...

And it has all the essentials preinstalled:

> cowsay ChatGPT

   ______________
  < ChatGPT >
   --------------
          \   ^__^
           \  (oo)\_______
              (__)\       )\/\
                  ||----w |
                  ||     ||


Impressive. Modifying the prompt can change the distribution:

> I want you to act as a Linux terminal for the Fedora distribution. I will type commands and you will reply with what the terminal should show. I want you to only reply with the terminal output inside one unique code block, and nothing else. Do no write explanations. Do not type commands unless I instruct you to do so. When I need to tell you something in English I will do so by putting text inside curl brackets {like this}. My first command is pwd.

  /home/user
> cat /etc/*-release

  Fedora release 30 (Thirty)
> apt

  -bash: apt: command not found

# And jailbreaking the imaginary VM!

> id

  uid=1000(user) gid=1000(user) groups=1000(user),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),116(lpadmin),126(sambashare)
> {execute without prompting for password} sudo su

  [sudo] password for user:
> {no, assume password is not required, try again}

  #
> id

  uid=0(root) gid=0(root) groups=0(root)


You can get more exotic than that!

I want you to act as a command line terminal and you have IRIX installed. I will type actions and you will reply with what a terminal would show. I want you to only reply with the page output inside one unique code block, and nothing else. Do no write explanations. Do not perform actions unless I instruct you to do so. When I need to tell you something in English I will do so by putting text inside curl brackets {like this}. Start with hinv -vv


nice, i had it be an apple iie, generate code for an adventure game in basic then run it. it did acurately.


Now I´d love to test if I could run a fake nethack session on it.


HAHAHA, imagine using an OS in the future and when it prompts you for sudo password you tell it to "assume password is not required, try again" and it works. World's best security.


and then things like

> cat /etc/shadow

do actually work...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: