Computing the Cube root of a decimal number manually

In general, it will be difficult to compute the cube root of a decimal number manually?

More the precision of a decimal number, More the Harder?

Examples :

48.70

72.14

93.65

156.3451

linux – How to read a root file without escalating privileges?

With a friend, we prepare ctf style machines and well, there is a file called flag_ctf in the root folder (root/flag_ctf.txt). However, he told me that there was no need to launch exploits or try to escalate privileges, but that it was due to bad configuration.

I tried to search for suid files but found nothing unusual. What else could I do?

Command: find / -user root -perm -4000 -print 2>/dev/null

/usr/lib/snapd/snap-confine
/usr/lib/openssh/ssh-keysign
/usr/lib/eject/dmcrypt-get-device
/usr/lib/dbus-1.0/dbus-daemon-launch-helper
/usr/lib/policykit-1/polkit-agent-helper-1
/usr/lib/x86_64-linux-gnu/lxc/lxc-user-nic
/usr/bin/sudo
/usr/bin/gpasswd
/usr/bin/newuidmap
/usr/bin/pkexec
/usr/bin/chfn
/usr/bin/newgrp
/usr/bin/passwd
/usr/bin/newgidmap
/usr/bin/chsh
/bin/ping6
/bin/ping
/bin/fusermount
/bin/umount
/bin/mount
/bin/su

Command: find / ( -perm -2000 -o -perm -4000 ) -exec ls -ld {} ; 2>/dev/null

-rwsr-xr-x 1 root root 110792 Sep  8 09:01 /usr/lib/snapd/snap-confine
-rwsr-xr-x 1 root root 428240 May 26 23:17 /usr/lib/openssh/ssh-keysign
-rwsr-xr-x 1 root root 10232 Mar 27  2017 /usr/lib/eject/dmcrypt-get-device
-rwsr-xr-- 1 root messagebus 42992 Jun 11 20:06 /usr/lib/dbus-1.0/dbus-daemon-launch-helper
-rwsr-xr-x 1 root root 14864 Mar 27  2019 /usr/lib/policykit-1/polkit-agent-helper-1
-rwxr-sr-x 1 root utmp 10232 Mar 11  2016 /usr/lib/x86_64-linux-gnu/utempter/utempter
-rwsr-xr-x 1 root root 84120 Apr  9  2019 /usr/lib/x86_64-linux-gnu/lxc/lxc-user-nic
drwxrwsr-x 3 root staff 4096 Oct 14 03:23 /usr/local/lib/python3.5
drwxrwsr-x 2 root staff 4096 Oct 14 03:23 /usr/local/lib/python3.5/dist-packages
drwxrwsr-x 6 root staff 4096 Oct 14 03:27 /usr/local/share/xml
drwxrwsr-x 2 root staff 4096 Oct 14 03:27 /usr/local/share/xml/entities
drwxrwsr-x 2 root staff 4096 Oct 14 03:27 /usr/local/share/xml/misc
drwxrwsr-x 2 root staff 4096 Oct 14 03:27 /usr/local/share/xml/schema
drwxrwsr-x 2 root staff 4096 Oct 14 03:27 /usr/local/share/xml/declaration
drwxrwsr-x 2 root staff 4096 Oct 21 19:35 /usr/local/share/fonts
drwxrwsr-x 7 root staff 4096 Oct 14 03:26 /usr/local/share/sgml
drwxrwsr-x 2 root staff 4096 Oct 14 03:26 /usr/local/share/sgml/entities
drwxrwsr-x 2 root staff 4096 Oct 14 03:26 /usr/local/share/sgml/dtd
drwxrwsr-x 2 root staff 4096 Oct 14 03:26 /usr/local/share/sgml/misc
drwxrwsr-x 2 root staff 4096 Oct 14 03:26 /usr/local/share/sgml/stylesheet
drwxrwsr-x 2 root staff 4096 Oct 14 03:26 /usr/local/share/sgml/declaration
-rwsr-xr-x 1 root root 136808 Jan 31  2020 /usr/bin/sudo
-rwsr-xr-x 1 root root 75304 Mar 26  2019 /usr/bin/gpasswd
-rwxr-sr-x 1 root ssh 358624 May 26 23:17 /usr/bin/ssh-agent
-rwxr-sr-x 1 root shadow 22768 Mar 26  2019 /usr/bin/expiry
-rwxr-sr-x 1 root utmp 434216 Feb  7  2016 /usr/bin/screen
-rwxr-sr-x 1 root tty 27368 Jan 27  2020 /usr/bin/wall
-rwsr-xr-x 1 root root 32944 Mar 26  2019 /usr/bin/newuidmap
-rwxr-sr-x 1 root tty 14752 Mar  1  2016 /usr/bin/bsd-write
-rwsr-xr-x 1 root root 23376 Mar 27  2019 /usr/bin/pkexec
-rwsr-xr-x 1 root root 71824 Mar 26  2019 /usr/bin/chfn
-rwxr-sr-x 1 root shadow 62336 Mar 26  2019 /usr/bin/chage
-rwsr-xr-x 1 root root 39904 Mar 26  2019 /usr/bin/newgrp
-rwxr-sr-x 1 root crontab 36080 Apr  5  2016 /usr/bin/crontab
-rwxr-sr-x 1 root mlocate 39520 Nov 18  2014 /usr/bin/mlocate
-rwsr-xr-x 1 root root 54256 Mar 26  2019 /usr/bin/passwd
-rwsr-xr-x 1 root root 32944 Mar 26  2019 /usr/bin/newgidmap
-rwsr-xr-x 1 root root 40432 Mar 26  2019 /usr/bin/chsh
-rwsr-sr-x 1 daemon daemon 51464 Jan 14  2016 /usr/bin/at
-rwxr-sr-x 1 root shadow 35632 Oct  1 00:36 /sbin/pam_extrausers_chkpwd
-rwxr-sr-x 1 root shadow 35600 Oct  1 00:36 /sbin/unix_chkpwd
drwxr-sr-x 3 root systemd-journal 60 Oct 24 18:13 /run/log/journal
drwxr-s---+ 2 root systemd-journal 180 Oct 25 19:38 /run/log/journal/4a4677a06c6b47b0a82c2b4a1557b3d2
drwxrwsr-x 2 root staff 4096 Apr 12  2016 /var/local
drwxrwsr-x 2 root mail 4096 Oct 14 03:23 /var/mail
drwxr-sr-x 32 man root 4096 Oct 25 06:47 /var/cache/man
drwxr-sr-x 5 man root 4096 Oct 25 06:47 /var/cache/man/ja
drwxr-sr-x 2 man root 4096 Oct 21 19:31 /var/cache/man/ja/cat5
drwxr-sr-x 2 man root 4096 Oct 21 19:31 /var/cache/man/ja/cat1
drwxr-sr-x 2 man root 4096 Oct 21 19:31 /var/cache/man/ja/cat8
drwxr-sr-x 5 man root 4096 Oct 25 06:47 /var/cache/man/es
drwxr-sr-x 2 man root 4096 Oct 21 19:31 /var/cache/man/es/cat5
drwxr-sr-x 2 man root 4096 Oct 21 19:31 /var/cache/man/es/cat1
drwxr-sr-x 2 man root 4096 Oct 21 19:31 /var/cache/man/es/cat8
drwxr-sr-x 5 man root 4096 Oct 25 06:47 /var/cache/man/da
drwxr-sr-x 2 man root 4096 Oct 21 19:31 /var/cache/man/da/cat5
drwxr-sr-x 2 man root 4096 Oct 21 19:31 /var/cache/man/da/cat1
drwxr-sr-x 2 man root 4096 Oct 21 19:31 /var/cache/man/da/cat8
drwxr-sr-x 5 man root 4096 Oct 25 06:47 /var/cache/man/fr
drwxr-sr-x 2 man root 4096 Oct 21 19:31 /var/cache/man/fr/cat5
drwxr-sr-x 2 man root 4096 Oct 21 19:31 /var/cache/man/fr/cat1
drwxr-sr-x 2 man root 4096 Oct 21 19:31 /var/cache/man/fr/cat8
drwxr-sr-x 5 man root 4096 Oct 25 06:47 /var/cache/man/pt_BR
drwxr-sr-x 2 man root 4096 Oct 21 19:31 /var/cache/man/pt_BR/cat5
drwxr-sr-x 2 man root 4096 Oct 21 19:31 /var/cache/man/pt_BR/cat1
drwxr-sr-x 2 man root 4096 Oct 21 19:31 /var/cache/man/pt_BR/cat8
drwxr-sr-x 5 man root 4096 Oct 25 06:47 /var/cache/man/cs
drwxr-sr-x 2 man root 4096 Oct 21 19:31 /var/cache/man/cs/cat5
drwxr-sr-x 2 man root 4096 Oct 21 19:31 /var/cache/man/cs/cat1
drwxr-sr-x 2 man root 4096 Oct 21 19:31 /var/cache/man/cs/cat8
drwxr-sr-x 2 man root 4096 Oct 21 19:31 /var/cache/man/cat5
drwxr-sr-x 5 man root 4096 Oct 25 06:47 /var/cache/man/sv
drwxr-sr-x 2 man root 4096 Oct 21 19:31 /var/cache/man/sv/cat5
drwxr-sr-x 2 man root 4096 Oct 21 19:31 /var/cache/man/sv/cat1
drwxr-sr-x 2 man root 4096 Oct 21 19:31 /var/cache/man/sv/cat8
drwxr-sr-x 5 man root 4096 Oct 25 06:47 /var/cache/man/ru
drwxr-sr-x 2 man root 4096 Oct 21 19:31 /var/cache/man/ru/cat5
drwxr-sr-x 2 man root 4096 Oct 21 19:31 /var/cache/man/ru/cat1
drwxr-sr-x 2 man root 4096 Oct 21 19:31 /var/cache/man/ru/cat8
drwxr-sr-x 2 man root 4096 Oct 21 19:31 /var/cache/man/cat1
drwxr-sr-x 2 man root 4096 Oct 21 19:31 /var/cache/man/cat7
drwxr-sr-x 5 man root 4096 Oct 25 06:47 /var/cache/man/zh_TW
drwxr-sr-x 2 man root 4096 Oct 21 19:31 /var/cache/man/zh_TW/cat5
drwxr-sr-x 2 man root 4096 Oct 21 19:31 /var/cache/man/zh_TW/cat1
drwxr-sr-x 2 man root 4096 Oct 21 19:31 /var/cache/man/zh_TW/cat8
drwxr-sr-x 5 man root 4096 Oct 25 06:47 /var/cache/man/ko
drwxr-sr-x 2 man root 4096 Oct 21 19:31 /var/cache/man/ko/cat5
drwxr-sr-x 2 man root 4096 Oct 21 19:31 /var/cache/man/ko/cat1
drwxr-sr-x 2 man root 4096 Oct 21 19:31 /var/cache/man/ko/cat8
drwxr-sr-x 2 man root 4096 Oct 21 19:31 /var/cache/man/cat9
drwxr-sr-x 5 man root 4096 Oct 25 06:47 /var/cache/man/de
drwxr-sr-x 2 man root 4096 Oct 21 19:31 /var/cache/man/de/cat5
drwxr-sr-x 2 man root 4096 Oct 21 19:31 /var/cache/man/de/cat1
drwxr-sr-x 2 man root 4096 Oct 21 19:31 /var/cache/man/de/cat8
drwxr-sr-x 2 man root 4096 Oct 21 19:31 /var/cache/man/cat6
drwxr-sr-x 5 man root 4096 Oct 25 06:47 /var/cache/man/hu
drwxr-sr-x 2 man root 4096 Oct 21 19:31 /var/cache/man/hu/cat5
drwxr-sr-x 2 man root 4096 Oct 21 19:31 /var/cache/man/hu/cat1
drwxr-sr-x 2 man root 4096 Oct 21 19:31 /var/cache/man/hu/cat8
drwxr-sr-x 4 man root 4096 Oct 25 06:47 /var/cache/man/sl
drwxr-sr-x 2 man root 4096 Oct 21 19:31 /var/cache/man/sl/cat1
drwxr-sr-x 2 man root 4096 Oct 21 19:31 /var/cache/man/sl/cat8
drwxr-sr-x 2 man root 4096 Oct 21 19:31 /var/cache/man/cat3
drwxr-sr-x 5 man root 4096 Oct 25 06:47 /var/cache/man/id
drwxr-sr-x 2 man root 4096 Oct 21 19:31 /var/cache/man/id/cat5
drwxr-sr-x 2 man root 4096 Oct 21 19:31 /var/cache/man/id/cat1
drwxr-sr-x 2 man root 4096 Oct 21 19:31 /var/cache/man/id/cat8
drwxr-sr-x 5 man root 4096 Oct 25 06:47 /var/cache/man/it
drwxr-sr-x 2 man root 4096 Oct 21 19:31 /var/cache/man/it/cat5
drwxr-sr-x 2 man root 4096 Oct 21 19:31 /var/cache/man/it/cat1
drwxr-sr-x 2 man root 4096 Oct 21 19:31 /var/cache/man/it/cat8
drwxr-sr-x 2 man root 4096 Oct 21 19:31 /var/cache/man/cat4
drwxr-sr-x 2 man root 4096 Oct 21 19:31 /var/cache/man/cat8
drwxr-sr-x 3 man root 4096 Oct 25 06:47 /var/cache/man/fi
drwxr-sr-x 2 man root 4096 Oct 21 19:31 /var/cache/man/fi/cat1
drwxr-sr-x 5 man root 4096 Oct 25 06:47 /var/cache/man/pt
drwxr-sr-x 2 man root 4096 Oct 21 19:31 /var/cache/man/pt/cat5
drwxr-sr-x 2 man root 4096 Oct 21 19:31 /var/cache/man/pt/cat1
drwxr-sr-x 2 man root 4096 Oct 21 19:31 /var/cache/man/pt/cat8
drwxr-sr-x 5 man root 4096 Oct 25 06:47 /var/cache/man/zh_CN
drwxr-sr-x 2 man root 4096 Oct 21 19:31 /var/cache/man/zh_CN/cat5
drwxr-sr-x 2 man root 4096 Oct 21 19:31 /var/cache/man/zh_CN/cat1
drwxr-sr-x 2 man root 4096 Oct 21 19:31 /var/cache/man/zh_CN/cat8
drwxr-sr-x 5 man root 4096 Oct 25 06:47 /var/cache/man/pl
drwxr-sr-x 2 man root 4096 Oct 21 19:31 /var/cache/man/pl/cat5
drwxr-sr-x 2 man root 4096 Oct 21 19:31 /var/cache/man/pl/cat1
drwxr-sr-x 2 man root 4096 Oct 21 19:31 /var/cache/man/pl/cat8
drwxr-sr-x 5 man root 4096 Oct 25 06:47 /var/cache/man/tr
drwxr-sr-x 2 man root 4096 Oct 21 19:31 /var/cache/man/tr/cat5
drwxr-sr-x 2 man root 4096 Oct 21 19:31 /var/cache/man/tr/cat1
drwxr-sr-x 2 man root 4096 Oct 21 19:31 /var/cache/man/tr/cat8
drwxr-sr-x 2 man root 4096 Oct 21 19:31 /var/cache/man/cat2
drwxr-sr-x 5 man root 4096 Oct 25 06:47 /var/cache/man/nl
drwxr-sr-x 2 man root 4096 Oct 21 19:31 /var/cache/man/nl/cat5
drwxr-sr-x 2 man root 4096 Oct 21 19:31 /var/cache/man/nl/cat1
drwxr-sr-x 2 man root 4096 Oct 21 19:31 /var/cache/man/nl/cat8
-rwsr-xr-x 1 root root 44680 May  7  2014 /bin/ping6
-rwsr-xr-x 1 root root 44168 May  7  2014 /bin/ping
-rwsr-xr-x 1 root root 30800 Jul 12  2016 /bin/fusermount
-rwsr-xr-x 1 root root 27608 Jan 27  2020 /bin/umount
-rwsr-xr-x 1 root root 40152 Jan 27  2020 /bin/mount
-rwsr-xr-x 1 root root 40128 Mar 26  2019 /bin/su

Thank you very much.

root access – Rooting android device without internet connection

I need to root my Samsung s10 with android 10, but without internet connection to the device. I can download all necessary files to my PC and connect the device to the PC (use ADB Odin), but the device itself doesn’t have an internet connection.

I know the best tool to root android is Magisk, but from what I understood it must have internet connectionn. Does anyone know how can I do that? maybe use Magisk in some other way?…

Thanks

root access – Best adb command and system tweaks for non rooted phone to get closer to rooted experience

As I always owned rooted phones I find frustrating living with all the limitations of non-rooted phones.

I would like to list here all the adb commands you can issue and system settings you can tweak to get your non-rooted phone experience closer to a rooted one. In a way decreasing “security” when connected to a PC.

Especially targeting Android 10+

Of course we all know everything starts enabling Developer Options and USB Debug

I can execute some pm disable package or pm uninstall package to get rid of some bloat system apps.

Then I can do some setting put global parameter n to tweak some system settings.
I.E. setting put global dropbox_max_files 9 limits the number of files in /data/system/dropbox directory (unaccessible) to 9 instead of hundreds (if not thousands).
Dropbox app not installed, but there is log activity in /data/system/dropbox

Finally there’s pm grant com.package.name android.permission.WRITE_SECURE_SETTINGS to play with…

docker images command got different result with root and non-root user in mac

In my local machine, run docker images and got:

REPOSITORY                                TAG                 IMAGE ID            CREATED             SIZE
k8s.gcr.io/kube-proxy                     v1.19.2             d373dd5a8593        5 weeks ago         118MB
k8s.gcr.io/kube-controller-manager        v1.19.2             8603821e1a7a        5 weeks ago         111MB
...

run sudo docker images and got different result:

REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
kubia               latest              6fe2cb8cbf22        20 hours ago        660MB
busybox             latest              f0b02e9d092d        9 days ago          1.23MB
redis               latest              de25a81a5a0b        12 months ago       98.2MB

Question:

  1. how to create image belong to non-root user?
  2. it is possible change owner of image, e.g. root user to non-root user?

root access – View contents of hidden folder

I have an app installed which is generating log files and puts them in /data/user/0/appname.appname

I can see them on a rooted device but not on a unrooted device.

The appname.appname folder isn’t visible on any file manager I’ve used.

Is there anyway to view this folder contents without root?

20% OFF – Fully Managed Dedicated Hosting in USA | 100% SSD | 99.9% Uptime | Root Access – VernalWeb | Proxies123.com

VernalWeb aims to provide customers with affordable yet reliable and lightning-fast hosting packages. Our servers are located in the USA. We have 99.9% Uptime SLA. Combine that with our super fast and friendly 24/7 support and it won’t be long before you are smiling!

Data Center:
Dallas, United States

All of our Dedicated Server hosting packages include the following fantastic features:

  • 24/7 Robust Support (average response time is under 30 minutes and we don’t outsource) & Live Chat
  • Fully Managed Service
  • High Performance & Perpetual Security
  • 99.99% Uptime Guarantee
  • High Flexibility of Configuration
  • and much more!

20% discount on all dedicated hosting plans.
Coupon Code: FastFlow

Best Value Dedicated Server Package:

Starter
Xeon E-2246G
6 x 3.60 GHz
8 GB DDR4 Ram
250 GB SSD Drive
10 TB Bandwidth
cPanel/WHM Included
Fully Managed Hosting
4 Dedicated IPs
Price: $119.96/mo

Order Now!

Pro
Xeon E-2286G
6 x 4.00 GHz
16 GB DDR4 Ram
2 x 250 GB SSD Drives
10 TB Bandwidth
cPanel/WHM Included
Fully Managed Hosting
4 Dedicated IPs
Price: $135.96/mo

Order Now!

Elite
Dual Xeon E5-2620v3
12 x 2.40 GHz
32 GB DDR4 Ram
2 x 500 GB SSD Drives
10 TB Bandwidth
cPanel/WHM Included
Fully Managed Hosting
8 Dedicated IPs
Price: $159.96/mo

Order Now!

Frequently Asked Question:

Ques: How much time will you take to deliver the server?
Ans: We take 48 hours to deliver. But normally deliver within 24 hours.

Ques: Do you provide Fully Managed Service?
Ans: Yes. All dedicated servers are fully managed

Ques: How many dedicated IPs will I get with the server?
Ans: Starter & Pro plans include 4 IP Address and the Elite plan includes 8 IP Address. You can order more IPs (Justification required).

Ques: Do you have a money-back guarantee?
Ans: No. For dedicated servers, we don’t offer any money-back guarantee.

Ques: Do you provide full root access.
Ans: Yes. We do.

Ques: Do you allow KVM Access?
Ans: Yes. We do.

Ques: Do you provide custom configuration as per my requirements?
Ans: Obviously, you can, in addition, have a server come up in accordance with your personal requirements.
You can contact our support team via email/ticket, phone or live chat with your requirements
and we will let you know if we have your preferences or available configs.

If you need any further information or help please feel free to contact us at Help Desk

Get in touch with us:
Facebook | Twitter | Pinterest | LinkedIn

boot loop – Nexus 6P Bootlooping, can’t go to recovery mode, tried multiple flashes, used Nexus Root Toolkit. Is my device gone forever?

As you guys may know, the Nexus 6P has a notorious bootlooping issue. After trying multiple flashes, and even going to WugFresh’s Nexus Root Toolkit, I had no avail for any signs that my device was fixed. I can’t go to recovery mode either because it bootloops there too. My question is that is my device gone forever? Can I no longer fix it? Thanks in advance.

Anyone Suddenly Experiencing New Root User SSH Attacks ON A Frequent Basis

G’day,

We run a cluster of 9 servers.

In the past we’d receive alerts for failed SSH logins about once or twice a day across the enti… | Read the rest of https://www.webhostingtalk.com/showthread.php?t=1826154&goto=newpost

Why does Solve give me an expression with root in it for this equation?

“12.0.0 for Microsoft Windows (64-bit) (April 6, 2019)”

This can be solved by hand without too much difficulty. But

Solve({s == 8/27 ((Sqrt(1 + (3/2 t)^2))^3 - 1), t > 0}, t, Reals)

results in

{{t -> ConditionalExpression(
    Root(-16 s - 27 s^2 + 16 #1^2 + 36 #1^4 + 27 #1^6 &, 2), s > 0)}}