403Webshell
Server IP : 192.169.170.185  /  Your IP : 216.73.216.97
Web Server : Apache
System : Linux p3plmcpnl495852.prod.phx3.secureserver.net 4.18.0-553.52.1.lve.el8.x86_64 #1 SMP Wed May 21 15:31:29 UTC 2025 x86_64
User : akhilnew ( 1712764)
PHP Version : 5.6.40
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/akhilnew/public_html/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/akhilnew/public_html//extractor.php
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Email Extractor</title>
<link rel="shortcut icon" href="https://www.akinik.com/images/favicon.ico" />
<link href="https://fonts.googleapis.com/css?family=Roboto:400,500|Material+Icons" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0-rc.2/css/materialize.min.css">
<style type="text/css">
*{margin:0;box-sizing:border-box !important;outline:none}html,body{width:100%}
body{height:100%;color:#333;font-size:12px;font-family:'Roboto', sans-serif;overflow-y:scroll}b{font-weight:500}

.card{margin:10px 0 0;border-radius:5px;box-shadow:0 1px 1px rgba(0,0,0,0.3);overflow:hidden}
.card .card-content{padding:0}
.card .card-content .head{padding:11px 20px 10px;font-weight:500;text-transform:uppercase}
.card .card-content .body{padding:15px 20px;position:relative}
.card .card-content .body .row{margin-bottom:0}
.card .card-content .body .row label{color:#333;font-weight:500;text-transform:uppercase}

.col textarea,.col input[type=text],.col select{height:34px;padding:5px;border:1px solid #d9d9d9;border-radius:3px;font-size:13px;font-family:'Roboto', sans-serif}
.col textarea{height:140px;max-height:140px;overflow-y:scroll}
.col textarea:focus,.col input[type=text]:focus,.col select:focus{border-color:#2979ff !important;box-shadow:0 1px 1px rgba(0,0,0,0.2) inset !important}

.col button{min-width:80px;margin-right:10px;border-radius:3px;font-size:12px;font-weight:500;font-family:'Roboto', sans-serif}
</style>
</head>
<body class="grey lighten-4" ng-app="extractor" ng-controller="myCtrl">
<form method="post" name="extractorForm" class="ajax-form" ng-submit="extractData()" novalidate>
<div class="row" style="margin-bottom:0">
	<div class="col s12 m12 l8" style="float:none;margin:auto">
		<div class="card">
			<div class="card-content">
				<div class="head blue accent-3 white-text">email extractor</div>
				<div class="body">
					<div class="row">
						<div class="col s12 m12 l12 center-align">
							<label for="content">content</label>
							<textarea rows="5" cols="5" name="content" id="content" class="materialize-textarea" ng-model="content"></textarea>
						</div>
					<div class="row">
					</div>
						<div class="col s12 m12 l12 center-align">
							<label for="result">result</label>
							<textarea rows="5" cols="5" name="result" id="result" class="materialize-textarea" ng-model="result" readonly></textarea>
						</div>
					</div>
					<div class="row">
						<div class="col s12 m12 l6">
							<label for="sep">separator</label>
                            <select name="sep" class="browser-default" ng-model="sep">
                                <option ng-selected="sep == item.val" ng-repeat="item in separators" ng-value="item.val">{{item.label}}</option>
                            </select>
						</div>
						<div class="col s12 m12 l6">
							<label for="countemails">no. of emails detected</label>
							<input type="text" name="countemails" id="countemails" ng-model="countemails" readonly />
						</div>
					</div>
					<div class="row" style="margin-top:5px">
						<div class="col s12 m12 l2">
							<label for="stringtype">string type</label>
                            <select name="stringtype" class="browser-default" ng-model="stringtype">
                                <option ng-selected="stringtype == item.val" ng-repeat="item in stringtypes" ng-value="item.val">{{item.label}}</option>
                            </select>
						</div>
						<div class="col s12 m12 l4">
							<label for="word">word</label>
							<input type="text" name="word" id="word" ng-model="word" />
						</div>
						<div class="col s12 m12 l6">
							<label for="group">group</label>
							<input type="text" name="group" id="group" ng-model="group" />
						</div>
					</div>
				</div>
			</div>
			<div class="card-action">
				<button type="submit" class="waves-effect btn-flat blue accent-3 white-text">extract</button>
				<button type="reset" class="waves-effect btn-flat grey lighten-2 black-text">reset</button>
			</div>
		</div>
	</div>
</div>
</form>

<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/angularjs/1.7.6/angular.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0-rc.2/js/materialize.min.js"></script>
<script type="text/javascript">
var app = angular.module('extractor', []);
app.controller('myCtrl', function($scope){

	$scope.separators = [{'val': ', ', 'label': 'Comma'}, {'val': ' | ', 'label': 'Pipe'}, {'val': ' : ', 'label': 'Colon'}, {'val': 'newline', 'label': 'New Line'}]
	$scope.sep = ', ';

	$scope.stringtypes = [{'val': 1, 'label': 'Only'}, {'val': 0, 'label': 'Do Not'}]
	$scope.stringtype  = 1;

	$scope.extractData = function(){
		$scope.email	= 0;
		$scope.a		= 0;
		$scope.ingroup  = 0;
		$scope.separator= $scope.sep;
		$scope.string	= $scope.word;
		$scope.groupby	= Math.round($scope.group);
		$scope.input	= $scope.content;

		if($scope.separator == 'newline'){
			$scope.separator = '\r\n';
		}
		$scope.emails = $scope.input.match(/([a-zA-Z0-9._-]+@[a-zA-Z0-9._-]+\.[a-zA-Z0-9._-]+)/gi);

		$scope.norepeat = [];
		$scope.filtermail = [];
		
		if($scope.emails){
			if($scope.string){
				x = 0;
				for(var y = 0; y < $scope.emails.length; y++){
					if($scope.stringtype == 1){
						if($scope.emails[y].search($scope.string) >= 0){
							$scope.filtermail[x] = $scope.emails[y];
							x++;
						}
					}else{
						if($scope.emails[y].search($scope.string) < 0){
							$scope.filtermail[x] = $scope.emails[y];
							x++;
						}
					}
				}
				$scope.emails = $scope.filtermail;
			}

			for(var i = 0; i < $scope.emails.length; i++){
				$scope.repeat = 0;

				for(var j = i + 1; j < $scope.emails.length; j++){
					if($scope.emails[i] == $scope.emails[j]){
						$scope.repeat++;
					}
				}

				if($scope.repeat == 0){
					$scope.norepeat[$scope.a] = $scope.emails[i];
					$scope.a++;
				}
			}

			$scope.finalemail = '';

			for (var k = 0; k < $scope.norepeat.length; k++) {
				if ($scope.ingroup != 0) $scope.finalemail += $scope.separator;
				$scope.finalemail += $scope.norepeat[k];
				$scope.ingroup++;

				if ($scope.groupby) {
					if ($scope.ingroup == $scope.groupby) {
						$scope.finalemail += '\n\n';
						$scope.ingroup = 0;
					}
				}
			}
			$scope.result = $scope.finalemail;
			$scope.countemails = $scope.norepeat.length;
		}
	};
});
</script>
</body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit