403Webshell
Server IP : 159.223.102.202  /  Your IP : 216.73.216.195
Web Server : nginx/1.26.0
System : Linux Gen1-cloudpanel2ubuntu2404-1vcpu-1gb-nyc1-01 6.8.0-31-generic #31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20 00:40:06 UTC 2024 x86_64
User : albasshbotta ( 1021)
PHP Version : 8.2.19
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /usr/share/doc/dc/examples/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/doc/dc/examples/dc_factor
#!/bin/sh
#
# Example taken from http://www.cs.unh.edu/~charpov/Programming/DC/
# and minimally modified to use dc -e '...' instead of echo '...' | dc
#
# Usage:
#    Invoke as 'dc_factor $ARG' and $ARG will be factored
# Example:
#     $ ./dc_factor 123456789              
#     3
#     3
#     3607
#     3803
#
# Dirk Eddelbuettel <edd@debian.org>  09 May 2003

dc -e "$1[p]s2[lip/dli%0=1dvsr]s12sid2%0=13sidvsr[dli%0=1lrli2+dsi!>.]ds.xd1<2"

Youez - 2016 - github.com/yon3zu
LinuXploit