Suricata logs “A Network Trojan was detected”. Is it false positive?

I use the Suricata as IDS on the local network that it doesn’t the internet. It logged a few alerts from some clients that said A Network Trojan was detected. All log’s properties are in the following:

Protocol: 006
Source: Client IP
Destination: Server IP
Signature: ET POLICY SMB2 NT Create AdnX Request For an Executable File in a Temp Directory. Category: A Network Trojan was detected

I have Kaspersky antivirus that updated and also I have Malwarebytes that updates too, however, they hadn’t detected any trojans.


Is this a false positive or maybe a real trojan that the antimalware can’t detect it?

Server OS: Windows server 2012
Client OS: Windows 7 and 10

Auto-Sort script which excludes formula if ascending False

I am looking to exclude formulas or blank cells when I am running my auto sort. I used the following… It sorts fine, but I wanted the numbers to be ascending: False. When I change this, it takes account of the formula I have set for my column I am sorting by and puts them all at the top and my actual data points to at the bottom where my formulas stopped… Is there a way to exclude this?

function onEdit(e) {   var ss = SpreadsheetApp.getActiveSpreadsheet();   var sheet = ss.getSheetByName("G2 List")   var range = sheet.getRange("A2:T200");   var columnToSortBy = 14;   // Sorts by the values in column 14 (N)  range.sort({column: 14, ascending: false});  } 

enter image description here

Как узнать session_cookie_secure True или False? И где (как) поменять это значение?

Есть сайт на Django. В режиме отладки все работало хорошо. Потом я разместил сайт на хостинге. При запуске сайта с хостинга все хорошо, но когда я пытаюсь зайти с админки пишут, что пароль неверный. Хостинг не поддерживает https. Полагаю причина в этом. Думаю, что session_cookie_securе = True, поэтому хочу поменять на False, но не знаю как.

Maldet ModSecurity rule report false positive even file is OK by maldet


this is the ModSecurity rule i found and be claimed to scan web server file uploads by Malware Detect software:

SecRequestBodyAccess On SecTmpSaveUploadedFiles On SecRule FILES_TMPNAMES "@inspectFile /usr/local/maldetect/" "log,auditlog,deny,severity:2,phase:2,t:none,id:99587,msg:'Malware found by LinuxMalwareDetect.'"
Code (markup):

When i upload image (certainly clean image of an nature scenery), ModSecurity stop the request:

Request:POST /wp-admin/async-upload.php...
Code (markup):

Maldet ModSecurity rule report false positive even file is OK by maldet

Is the following statement is True false regarding inner product

Is the following statement is True false

Let $ V = \mathbb{R}^5$ be equipped with the usual euclidean inner-product. If $ W$ and $ Z$ are subspaces of $ V$ such that both of them are of dimension $ 3,$ then there exists $ z \in Z$ such that $ z \neq 0$ and $ z ⊥ W.$

My attempt : i thinks this statement is True take $ W= (1,-1,1)$ and $ Z=(-1,1,-1)$ the $ Z ⊥ W$ that is $ \langle Z. W\rangle=0$

Is my thinking is correct or not ?

Any hints/solution will be appreciated

form validation is always returning false value without even validating

I have tried every possible method I know to resolve my problem. but form_validation is still not working.

working with codeigniter for form-validation, tried removing the if else and run the validation, but it’s not validating the form and entering the values without checking.

home controller.php

function __construct()     {         parent::__construct();         $  this->load->model('home_model');         $  this->load->database();         $  this->load->helper('url','form');         $  this->load->library('form_validation');     }  public function register(  {  if ($  this->input->post('reg_button'))     { $  this->form_validation->set_message('vaild_email', 'Please enter a valid email id');  $  this->form_validation->set_rules('reg_fname', 'First Name', 'trim|required|min_length[3]|max_length[20]');  $  this->form_validation->set_rules('reg_lname', 'Last Name', 'trim|required|min_length[3]|max_length[20]');  $  this->form_validation->set_rules('reg_email', 'Email', 'required|vaild_email|is_unique[]');  $  this->form_validation->set_rules('reg_email2', 'Confirm Email', 'required|vaild_email|matches[reg_email]');  $  this->form_validation->set_rules('reg_password', 'Password', 'trim|required|min_length[5]|max_length[20]');  $  this->form_validation->set_rules('reg_password2', ' Confirm Password', 'trim|required|matches[reg_password]');  if ($  this->form_validation->run() == FALSE)                 {                      echo "<script>window.alert('Oops! Error!')</script>";                 }                 else                 {             $  reg_fname = $  this->input->post('reg_fname');     $  reg_lname = $  this->input->post('reg_lname');         $  reg_email = $  this->input->post('reg_email');     $  reg_email2 = $  this->input->post('reg_email2');     $  reg_password = $  this->input->post('reg_password');     $  reg_password2 = $  this->input->post('reg_password2');     $  user_type = $  this->input->post('user_type');      $  result = $  this->home_model->insert_data($  reg_fname, $  reg_lname, $  reg_email, $  reg_password, $  user_type);              redirect('dashboard_controller', refresh); `enter code here`           }             }        } 


   class Home_model extends CI_Model{          function __construct()         {             parent::__construct();              $  this->db = $  this->load->database('default', true);          }      function insert_data($  reg_fname, $  reg_lname, $  reg_email, $  reg_password, $  user_type){                   $  qry = "INSERT INTO users VALUES ('','$  reg_fname','$  reg_lname','$  reg_email','$  reg_password','$  user_type')";                $  this ->db->query($  qry);               } 


<form action="<?php echo base_url().'home_controller/login' ?>" method="post" autocomplete="off">                                   <div class="form-group">                                        <input type="email" class="form-control" name="log_email" placeholder ="Email" required >                                 </div>                                    <div class="form-group">                                          <input type="password" class="form-control" name = "log_password" placeholder = "Password">                                     </div>                                     <a href="forget.php" id="forgot" class="forgot">Forget Password?</a>                                    <br>                                   <input type="submit" class="btn btn-primary btn-block mt-1" value="Login" name = "login_button">                                      <br>                                                                                      <a href="#" id="signup" class="signup">Need an account? Register here!</a>                               </form> 

Unity – Bool doesn’t change to false anymore

I got into a Unity-Tutorial and halfway-through I face this weird problem. I used this code so that my player may attack if he pressed a leftShift. When the player attacks, the animation starts playing in a loop – he never stops attacking and debugging show that attack is never false after the first “leftShift”-Input.

I removed the loops from the animator etc. – but that doesn’t seem to be the problem because “attack” never get’s to false anyways. I tried different approaches. If I set “attack = false” immediately after attacking, he doesn’t attack at all.

Sorry for asking such a beginner question but I can’t seem to find my error.

using System.Collections; using System.Collections.Generic; using UnityEngine;  public class Player : MonoBehaviour { private Rigidbody2D myRigidbody;  [SerializeField] private float movementSpeed;  private bool facingRight = true;  private Animator myAnimator;  private bool attack = false;  // Start is called before the first frame update void Start() {     myRigidbody = GetComponent<Rigidbody2D>();     myAnimator = GetComponent<Animator>(); }  void Update() {     HandleInput();     Debug.Log(attack);  }  // Update is called once per frame  void FixedUpdate() {     float horizontal = Input.GetAxis("Horizontal");     HandleMovement(horizontal);     Flip(horizontal);     HandleAttacks();     ResetValues();   }  private void HandleMovement(float horizontal) {     if (!this.myAnimator.GetCurrentAnimatorStateInfo(0).IsTag("Attack"))     {           myRigidbody.velocity = new Vector2(horizontal * movementSpeed, myRigidbody.velocity.y);         myAnimator.SetFloat("speed", Mathf.Abs(horizontal));     } }  private void HandleAttacks() {     if (attack)     {         myAnimator.SetTrigger("attack");       }  }  private void HandleInput() {     if (Input.GetKeyDown(KeyCode.LeftShift))     {         attack = true;      }     attack = false; }  private void Flip(float horizontal) {     if(horizontal > 0 && !facingRight || horizontal < 0 && facingRight)     {         facingRight = !facingRight;         Vector3 theScale = transform.localScale;         theScale.x *= -1;         transform.localScale = theScale;     } }  private void ResetValues() {     attack = false; } } 




In a MacOS Mojave bash script “-w /etc/passwd” is false even for root

An old bash script I have tested to see if a user was root by seeing if /etc/passwd was writeable. In MacOS High Sierra it returned true for root, and false for anyone else. But in MacOS Mojave the test returns false even for root. If I run that test [ -w File ] on other files with the same permissions and ownership, such as /etc/hosts , it correctly returns true for root and false for anyone else in both Mojave and High Sierra. I see no special file flags or extended attributes on /etc/passwd . The script is no problem to fix, but I’d like to know how/why this test is different on that file vs other files and why this is in Mojave only.