Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- infected_@infected-labs ~ $ ssh 52.174.187.246
- The authenticity of host '52.174.187.246 (52.174.187.246)' can't be established.
- ECDSA key fingerprint is SHA256:6tnVccB+/IiRZaILewX97Z7igB+pmIpmMamR2ts8B+A.
- Are you sure you want to continue connecting (yes/no)? y
- Please type 'yes' or 'no': yes
- Warning: Permanently added '52.174.187.246' (ECDSA) to the list of known hosts.
- infected_@52.174.187.246's password:
- Welcome to Ubuntu 16.04.2 LTS (GNU/Linux 4.4.0-87-generic x86_64)
- * Documentation: https://help.ubuntu.com
- * Management: https://landscape.canonical.com
- * Support: https://ubuntu.com/advantage
- Get cloud support with Ubuntu Advantage Cloud Guest:
- http://www.ubuntu.com/business/services/cloud
- 0 packages can be updated.
- 0 updates are security updates.
- The programs included with the Ubuntu system are free software;
- the exact distribution terms for each program are described in the
- individual files in /usr/share/doc/*/copyright.
- Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
- applicable law.
- To run a command as administrator (user "root"), use "sudo <command>".
- See "man sudo_root" for details.
- -bash: warning: setlocale: LC_CTYPE: cannot change locale (pt_PT.UTF-8): No such file or directory
- _____________________________________________________________________
- WARNING! Your environment specifies an invalid locale.
- The unknown environment variables are:
- LC_CTYPE=pt_PT.UTF-8 LC_ALL=
- This can affect your user experience significantly, including the
- ability to manage packages. You may install the locales by running:
- sudo apt-get install language-pack-pt
- or
- sudo locale-gen pt_PT.UTF-8
- To see all available language packs, run:
- apt-cache search "^language-pack-[a-z][a-z]$"
- To disable this message for all users, run:
- sudo touch /var/lib/cloud/instance/locale-check.skip
- _____________________________________________________________________
- infected_@infectedlabs-vps:~$ ls
- infected_@infectedlabs-vps:~$ cd /m
- media/ mnt/
- infected_@infectedlabs-vps:~$ cd /mnt/
- infected_@infectedlabs-vps:/mnt$ ls
- DATALOSS_WARNING_README.txt lost+found
- infected_@infectedlabs-vps:/mnt$ df
- Filesystem 1K-blocks Used Available Use% Mounted on
- udev 8187560 0 8187560 0% /dev
- tmpfs 1641520 8800 1632720 1% /run
- /dev/sda1 30428648 1413672 28998592 5% /
- tmpfs 8207580 0 8207580 0% /dev/shm
- tmpfs 5120 0 5120 0% /run/lock
- tmpfs 8207580 0 8207580 0% /sys/fs/cgroup
- /dev/sdb1 32895792 49084 31152660 1% /mnt
- tmpfs 1641520 0 1641520 0% /run/user/1000
- infected_@infectedlabs-vps:/mnt$ mkdir lineageos
- mkdir: cannot create directory 'lineageos': Permission denied
- infected_@infectedlabs-vps:/mnt$ ls
- DATALOSS_WARNING_README.txt lost+found
- infected_@infectedlabs-vps:/mnt$ lsdisks
- lsdisks: command not found
- infected_@infectedlabs-vps:/mnt$ exit
- logout
- Connection to 52.174.187.246 closed.
- infected_@infected-labs ~ $ ssh 52.174.187.246
- infected_@52.174.187.246's password:
- Permission denied, please try again.
- infected_@52.174.187.246's password:
- Welcome to Ubuntu 16.04.2 LTS (GNU/Linux 4.4.0-87-generic x86_64)
- * Documentation: https://help.ubuntu.com
- * Management: https://landscape.canonical.com
- * Support: https://ubuntu.com/advantage
- Get cloud support with Ubuntu Advantage Cloud Guest:
- http://www.ubuntu.com/business/services/cloud
- 0 packages can be updated.
- 0 updates are security updates.
- Last login: Wed Aug 2 05:20:05 2017 from 94.63.118.131
- To run a command as administrator (user "root"), use "sudo <command>".
- See "man sudo_root" for details.
- -bash: warning: setlocale: LC_CTYPE: cannot change locale (pt_PT.UTF-8): No such file or directory
- infected_@infectedlabs-vps:~$ lsblk
- NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
- fd0 2:0 1 4K 0 disk
- sda 8:0 0 30G 0 disk
- `-sda1 8:1 0 30G 0 part /
- sdb 8:16 0 32G 0 disk
- `-sdb1 8:17 0 32G 0 part /mnt
- sdc 8:32 0 1023G 0 disk
- sr0 11:0 1 1.1M 0 rom
- infected_@infectedlabs-vps:~$ sudo mkdir /mnt/Storage
- infected_@infectedlabs-vps:~$ sudo mount /dev/sdc /mnt/Storage
- mount: wrong fs type, bad option, bad superblock on /dev/sdc,
- missing codepage or helper program, or other error
- In some cases useful info is found in syslog - try
- dmesg | tail or so.
- infected_@infectedlabs-vps:~$ sudo fdisk /dev/sdc
- Welcome to fdisk (util-linux 2.27.1).
- Changes will remain in memory only, until you decide to write them.
- Be careful before using the write command.
- Device does not contain a recognized partition table.
- Created a new DOS disklabel with disk identifier 0x44b4c469.
- Command (m for help): d
- No partition is defined yet!
- Could not delete partition 1
- Command (m for help): p
- Disk /dev/sdc: 1023 GiB, 1098437885952 bytes, 2145386496 sectors
- Units: sectors of 1 * 512 = 512 bytes
- Sector size (logical/physical): 512 bytes / 4096 bytes
- I/O size (minimum/optimal): 4096 bytes / 4096 bytes
- Disklabel type: dos
- Disk identifier: 0x44b4c469
- Command (m for help): 1
- 1: unknown command
- Command (m for help): m
- Help:
- DOS (MBR)
- a toggle a bootable flag
- b edit nested BSD disklabel
- c toggle the dos compatibility flag
- Generic
- d delete a partition
- F list free unpartitioned space
- l list known partition types
- n add a new partition
- p print the partition table
- t change a partition type
- v verify the partition table
- i print information about a partition
- Misc
- m print this menu
- u change display/entry units
- x extra functionality (experts only)
- Script
- I load disk layout from sfdisk script file
- O dump disk layout to sfdisk script file
- Save & Exit
- w write table to disk and exit
- q quit without saving changes
- Create a new label
- g create a new empty GPT partition table
- G create a new empty SGI (IRIX) partition table
- o create a new empty DOS partition table
- s create a new empty Sun partition table
- Command (m for help): d
- No partition is defined yet!
- Could not delete partition 1
- Command (m for help): n
- Partition type
- p primary (0 primary, 0 extended, 4 free)
- e extended (container for logical partitions)
- Select (default p): p
- Partition number (1-4, default 1):
- First sector (2048-2145386495, default 2048):
- Last sector, +sectors or +size{K,M,G,T,P} (2048-2145386495, default 2145386495):
- Created a new partition 1 of type 'Linux' and of size 1023 GiB.
- Command (m for help): w
- The partition table has been altered.
- Calling ioctl() to re-read partition table.
- Syncing disks.
- infected_@infectedlabs-vps:~$ sudo mount /dev/sdc /mnt/Storage
- mount: wrong fs type, bad option, bad superblock on /dev/sdc,
- missing codepage or helper program, or other error
- In some cases useful info is found in syslog - try
- dmesg | tail or so.
- infected_@infectedlabs-vps:~$ lsblk
- NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
- fd0 2:0 1 4K 0 disk
- sda 8:0 0 30G 0 disk
- `-sda1 8:1 0 30G 0 part /
- sdb 8:16 0 32G 0 disk
- `-sdb1 8:17 0 32G 0 part /mnt
- sdc 8:32 0 1023G 0 disk
- `-sdc1 8:33 0 1023G 0 part
- sr0 11:0 1 1.1M 0 rom
- infected_@infectedlabs-vps:~$ sudo mount /dev/sdc1 /mnt/Storage
- mount: wrong fs type, bad option, bad superblock on /dev/sdc1,
- missing codepage or helper program, or other error
- In some cases useful info is found in syslog - try
- dmesg | tail or so.
- infected_@infectedlabs-vps:~$ sudo mkfs.ext4 /dev/sdc1
- mke2fs 1.42.13 (17-May-2015)
- Discarding device blocks: done
- Creating filesystem with 268173056 4k blocks and 67043328 inodes
- Filesystem UUID: a37023c2-2638-407d-9037-365e8de9cb75
- Superblock backups stored on blocks:
- 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
- 4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968,
- 102400000, 214990848
- Allocating group tables: done
- Writing inode tables: done
- Creating journal (32768 blocks): done
- Writing superblocks and filesystem accounting information: done
- infected_@infectedlabs-vps:~$ sudo mount /dev/sdc1 /mnt/Storage
- infected_@infectedlabs-vps:~$ cd /mnt/Storage/
- infected_@infectedlabs-vps:/mnt/Storage$ mkdir aosp
- mkdir: cannot create directory 'aosp': Permission denied
- infected_@infectedlabs-vps:/mnt/Storage$ cd ..
- infected_@infectedlabs-vps:/mnt$ sudo chown -hR infected_ Storage/
- infected_@infectedlabs-vps:/mnt$ cd /mnt/Storage/
- infected_@infectedlabs-vps:/mnt/Storage$ mkdir aosp
- infected_@infectedlabs-vps:/mnt/Storage$ cd aosp
- infected_@infectedlabs-vps:/mnt/Storage/aosp$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement