-4

I was training on Hack The Box and I accidentally did something wrong, but don't know what.

My home folder now is full with other random folder.

enter image description here

Rrunning ls -la command on my home folder:

drwxrwx--x 1 yonasuriv yonasuriv 1,4K jun 23 06:17  .
drwxr-xr-x 1 root      root        18 abr 15 12:16  ..
drwxrwx--x 1 root      root        30 jun 13 17:13  Backups
-rw-rw---- 1 yonasuriv yonasuriv 2,8K jun 21 16:25  .bash_history
-rw-rw---- 1 yonasuriv yonasuriv    9 jun 21 17:13  .bashrc
drwxrwx--x 1 root      root        72 jun 13 17:13  blob_storage
drwxrwx--x 1 yonasuriv yonasuriv   48 mar 23 15:27  .BurpSuite
drwxrwx--x 1 yonasuriv yonasuriv  304 may 12 00:53  .byobu
drwxrwx--x 1 yonasuriv yonasuriv 1,1K jun 23 06:17  .cache
drwxrwx--x 1 root      root        20 jun 13 17:13  Cache
drwxrwx--x 1 root      root        16 jun 13 17:14  CachedConfigurations
drwxrwx--x 1 root      root        80 jun 13 17:13  CachedData
drwxrwx--x 1 root      root        22 jun 13 17:13  CachedExtensions
drwxrwx--x 1 root      root        12 jun 13 17:13 'Code Cache'
drwxrwx--x 1 yonasuriv yonasuriv 1,6K jun 21 21:42  .config
-rwxrwx--x 1 root      root       20K jun 13 17:13  Cookies
-rwxrwx--x 1 root      root         0 jun 13 17:13  Cookies-journal
drwxrwx--x 1 root      root       102 jun 13 17:13  Crashpad
drwxrwx--x 1 yonasuriv yonasuriv   18 mar 23 15:27  .dbeaver4
drwxrwx--x 1 yonasuriv yonasuriv   12 jun 23 03:00  Desktop
-rw-rw---- 1 yonasuriv yonasuriv   35 abr 15 12:48  .dmrc
drwxrwx--x 1 yonasuriv yonasuriv   38 jun 20 20:10  Documents
drwxrwx--x 1 yonasuriv yonasuriv 4,6K jun 23 06:17  Downloads
-rwxrwx--x 1 yonasuriv yonasuriv  482 ene  7 14:24  .emacs
-rw-rw---- 1 yonasuriv yonasuriv  108 abr 19 14:54  .gitconfig
drwxrwx--x 1 yonasuriv yonasuriv    8 may  9 01:55  .gnome
drwxrwx--x 1 yonasuriv yonasuriv   92 abr 20 10:29  .gradle
-rwxrwx--x 1 yonasuriv yonasuriv  535 feb  2 19:31  .gtkrc-2.0
drwxrwx--x 1 yonasuriv yonasuriv    0 abr 17 08:43  .icons
drwxrwx--x 1 yonasuriv yonasuriv   30 abr 19 14:43  .java
drwxrwx--x 1 yonasuriv yonasuriv   10 mar 23 15:27  .kde
-rwxrwx--x 1 root      root         2 jun 13 17:13  languagepacks.json
drwxrwx--x 1 yonasuriv yonasuriv   22 jun 16 15:47  .local
drwxrwx--x 1 root      root        14 jun 13 17:13 'Local Storage'
drwxrwx--x 1 root      root        30 jun 13 17:13  logs
-rwxrwx--x 1 root      root        36 jun 13 17:13  machineid
drwxrwx--x 1 yonasuriv yonasuriv   72 abr 15 12:49  .mozilla
drwxrwx--x 1 yonasuriv yonasuriv   12 mar 23 15:27  .msf4
drwxrwx--x 1 yonasuriv yonasuriv    0 abr 15 12:48  Music
-rwxrwx--x 1 root      root       356 jun 13 17:14 'Network Persistent State'
-rw-rw---- 1 yonasuriv yonasuriv    0 may  7 22:54  .node_repl_history
drwxrwx--x 1 yonasuriv yonasuriv   26 jun  8 04:56  .npm
-rw-rw---- 1 yonasuriv yonasuriv  84K jun 21 17:13  .p10k.zsh
drwxrwx--x 1 yonasuriv yonasuriv   20 abr 21 14:15  Pictures
drwxrwx--x 1 yonasuriv yonasuriv   10 abr 17 08:17  .pki
drwxrwx--x 1 yonasuriv yonasuriv 3,4K may 19 12:10  .poshthemes
drwxrwx--x 1 yonasuriv yonasuriv  496 abr 15 13:08  .powerlevel10k
-rwxrwx--x 1 yonasuriv yonasuriv  675 ene  7 14:24  .profile
drwxrwx--x 1 yonasuriv yonasuriv   64 jun 16 15:45  Projects
drwxrwx--x 1 yonasuriv yonasuriv    0 abr 15 12:48  Public
-rwxrwx--x 1 root      root       40K jun 13 17:14  QuotaManager
-rwxrwx--x 1 root      root         0 jun 13 17:14  QuotaManager-journal
-rw-rw---- 1 yonasuriv yonasuriv   56 jun 17 23:41  .rediscli_history
drwxrwx--x 1 root      root        62 jun 13 17:13 'Service Worker'
drwxrwx--x 1 root      root        78 jun 13 17:15 'Session Storage'
drwxrwx--x 1 yonasuriv yonasuriv   54 abr 19 14:47  .ssh
drwxrwx--x 1 yonasuriv yonasuriv   66 may 20 03:04  .stremio-server
drwxrwx--x 1 yonasuriv yonasuriv   22 mar 23 15:27  Templates
drwxrwx--x 1 yonasuriv yonasuriv  166 abr 17 08:58  .themes
-rwxrwx--x 1 root      root       372 jun 13 17:14  TransportSecurity
drwxrwx--x 1 root      root        72 jun 13 17:13  User
drwxrwx--x 1 yonasuriv yonasuriv    0 abr 15 12:48  Videos
-rwxrwx--x 1 yonasuriv yonasuriv   74 ene  7 14:24  .vimrc
drwxrwx--x 1 yonasuriv yonasuriv   38 abr 17 08:35  .vscode
drwxrwx--x 1 yonasuriv yonasuriv   38 abr 17 08:17  .vscode-oss
drwxrwx--x 1 yonasuriv yonasuriv   72 jun 13 17:09  .wakatime
-rw-rw---- 1 yonasuriv yonasuriv   91 jun 13 17:09  .wakatime-internal.cfg
drwxrwx--x 1 yonasuriv yonasuriv   38 abr 22 21:50 'Web Server'
-rw-rw---- 1 yonasuriv yonasuriv  165 may 19 12:10  .wget-hsts
-rw-rw---- 1 yonasuriv yonasuriv   51 jun 23 06:15  .Xauthority
-rw------- 1 yonasuriv yonasuriv 4,4K jun 23 06:15  .xsession-errors
-rw-rw---- 1 yonasuriv yonasuriv 117K jun 23 06:13  .xsession-errors.old
-rw-rw---- 1 yonasuriv yonasuriv  25K jun 23 06:13  .zsh_history
-rwxrwx--x 1 yonasuriv yonasuriv 2,9K jun 21 20:30  .zshrc

I ran chmod command to set values to default but nothing changed

What's happening?

4
  • 2
    First these are not "root folders" these are folders belonging to root user. Second, are you sure you have not simply been gaming as root having current directory = your home folder on June the 13th ?
    – MC68020
    Jun 23 at 6:56
  • 2
    We can't know what you did. Maybe you logged in as root and copied those folders from somewhere. Or maybe you used sudo and created them. We have no way of knowing.
    – terdon
    Jun 23 at 9:29
  • Please unlearn to use sudo indiscreetly. It's rarely needed to be honest. Jun 23 at 11:37
  • What did you mean with 'Please unlearn to use sudo indiscreetly. It's rarely needed to be honest? I'm not pretending you guys to tell me what I did wrong exactly, maybe you did know what those files are from and how to hide them, that's what I needed only, sorry if I didn't cover the expectations on this question
    – yonasuriv
    Jun 23 at 15:51

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.