ransomware – Ransomeware: Main means of lateral movement

I was looking for an overview that summarizes the main methods for lateral movement of ransomware. To be clear, I am not looking for the main infection vectors but rather for the main services / ports or applications ransomware exploits to spread laterally once it is inside the network already.

I was unsuccessful though given most summaries focus on the initial infection vectors. My best guess is that most ransomware instance make use of: SMB, RDP, flat AD implementations and known Windows vulnerabilities (DoublePulsar, issues with the printer spooler, etc. pp.).

Best,
André

android studio – Menu lateral en Kotlin no funciona (onNavigationItemSelected)

muy buenas, queria comentar mi problema, me compre una plantilla base, la cual tiene un menu lateral, pero no tenia ningun boton del mismo (el configurado en el xml) configurado en la parte de kotlin, luego de varias investigando encontre como poder añadir la funcion, pero no logre hacerlo funcionar, este es mi codigo:
en onCreate:

binding.drawerLayout.addDrawerListener(actionBarDrawerToggle);
binding.navView.setNavigationItemSelectedListener(this)
actionBarDrawerToggle.syncState()

fuera:

private fun closeDrawer() {
    binding.drawerLayout.closeDrawer(GravityCompat.START)
}
override fun onOptionsItemSelected(item: MenuItem): Boolean {
    val id = item.itemId
    return super.onOptionsItemSelected(item)

}

override fun onNavigationItemSelected(menuItem: MenuItem): Boolean {
    closeDrawer()
        when (menuItem.getItemId()) {
            R.id.ic_instagram -> {
                val intent = Intent("android.intent.action.VIEW",
                    Uri.parse("https://www.instagram.com/"))
                val b = Bundle()
                b.putBoolean("new_window", true) //sets new window
                intent.putExtras(b)
                startActivity(intent)
                true
            }
            else -> false

        }

    return true
}  

Me gustaria saber en que estoy fallando, porque al hacer click en el id ic_instagram por ejemplo, no cumple ninguna funcion y solo cierra el menu.

calculus and analysis – How to create a table of values with style for lateral limits study?

I want to make a table to analyze a function when it tends to 1 on the left and on the right.
for example if this is the function

$lim _{xrightarrow 1} frac{1-sqrt{x}}{1-x}$

the table should look like this or similar, I found this example but with another function $x^2$

enter image description here

I cannot find any appropriate example in the forum to help the understanding of the question although I think it is understood.
help me in forming this format

type conversion – PostgreSQL – CAST vs :: operator on LATERAL table function

While I can

SELECT elem(1), elem(2)
FROM   ( VALUES ('1,2'::TEXT) ) AS q(arr),
       LATERAL CAST(String_To_Array(q.arr, ',') AS INT()) AS elem
;

using an explicit call to CAST, I can’t

SELECT elem(1), elem(2)
FROM   ( VALUES ('1,2'::TEXT) ) AS q(arr),
       LATERAL String_To_Array(q.arr, ',')::INT() AS elem
;

using the implicitly calling :: operator:

ERROR: syntax error at or near “::”

One other location at which an explicit CAST is required:

CREATE INDEX ON ... ( CAST(<straw> AS <gold>) );

I doubt there is a syntactical reason, e.g. using extra enclosing paranthesis – which is incorrect here.

Is the explicit function call simply needed at this point as part of the low level implementation? Or does it follow any language rules?

javascript – sub menu e lateral

bom, eu quero adicionar o catalogo dos produtos na lateral assim que eu clico em netflixpor exemplo, onde fica a escrita do telegram, isso vale para todos os produtos quando clicar e assim aparecer na lateral sem ter que abrir uma nova guia.

  <div class="menu_btn" role="button"><a href="#" title="open menu">menu</a></div>
    
    <nav class="navigation" role="navigation">
        <h2>navegação</h2>
        <div class="panel panel--left">
            <ul class="menu">
                <li><a href="#" title="entertainment"><span class="litem">Entretenimento</span></a>
                     <ul class="sub-menu">
                        <li><a href="Contas/Netflix/Netflix.html" title="Netflix"><span class="litem">Netflix</span></a></li>
                        <li><a href="#" title="Prime Video"><span class="litem">Prime Video</span></a></li>
                        <li><a href="#" title="Telecine"><span class="litem">Telecine</span></a></li>
                        <li><a href="#" title="Globo Play"><span class="litem">Globo Play</span></a></li>
                        <li><a href="#" title="HBO"><span class="litem">HBO</span></a></li>
                        <li><a href="#" title="Play Plus"><span class="litem">Play Plus</span></a></li>
                        <li><a href="#" title="Crunchyroll"><span class="litem">Crunchyroll</span></a></li>
                        <li><a href="#" title="Youtube Premium"><span class="litem">Youtube Premium</span></a></li>
                    </ul>
                    <i class="line"></i>
                </li>
            

            

    </ul>
 

        </div>
       <div class="panel panel--right">
            <div class="close_btn"><a href="#">close</a></div>
             <div class="data">
            <div class="data__content">TODO SUPORTE É FEITO VIA @TELEGRAM</div>
            <BR>
            <BR>
            <BR>
             <div class="data__sub">AINDA NÃO TEM CADASTRO? CLIQUE </div>


        </div>  
    </nav>
<script src="https://static.codepen.io/assets/common/stopExecutionOnTimeout-157cd5b220a5c80d4ff8e0e70ac069bffd87a61252088146915e8726e5d9f147.js"></script>
  <script id="rendered-js" >

e usarei esse template como catalogo, ainda preciso modificar para que funcione no site

  <script>
  window.console = window.console || function(t) {};
</script>

  
  
  <script>
  if (document.location.search.match(/type=embed/gi)) {
    window.parent.postMessage("resize", "*");
  }
</script>


</head>

<body translate="no" >
  <div class="min-h-screen bg-gray-900 pb-20 grid">
  <h1 class='flex items-end justify-center h-full w-full text-3xl text-white font-thin uppercase'>DISPONIVEIS</h1>
  
  <div class='grid place-items-center lg:grid-cols-3 _container gap-y-10'>
  <div class="card rounded-lg px-8 py-20 relative hover:shadow-xl">
    <h2 class="name text-gray-100 text-center text-xl font-medium uppercase transition-all duration-500 opacity-0 z-10 absolute top-0 left-0 w-full">Netflix - 1 MÊS</h2>
    <a href=" link aqui " class="buy buy-netflix absolute bottom-0 bg-gray-600 text-white hover:text-black font-medium px-4 py-2 rounded-full transition-all duration-500 opacity-0 z-10 bg-netflix">COMPRE AGORA</a>
    <div class="image image-1">
      <img src="https://www.freepnglogos.com/uploads/netflix-logo-circle-png-5.png" alt="Netflix" class="product rounded transition-all duration-500">  
    </div>  
  </div>
  
  <div class="card rounded-lg px-8 py-20 relative hover:shadow-xl">
    <h2 class="name text-gray-100 text-center text-xl font-medium uppercase transition-all duration-500 opacity-0 z-10 absolute top-0 left-0 w-full">Netflix - 4 MESES</h2>
    <a href=" link aqui " class="buy netflix absolute bottom-0 bg-gray-600 hover:bg-gray-500 text-white px-4 py-2 rounded-full transition-all duration-500 opacity-0 z-10 bg-netflix">COMPRE AGORA</a>
    <div class="image image-2">
      <img src="https://www.freepnglogos.com/uploads/netflix-logo-circle-png-5.png" alt="Netflix" class="product rounded transition-all duration-500">
    </div>
  </div>
  
  <div class="card rounded-lg px-8 py-20 relative hover:shadow-xl">
    <h2 class="name text-gray-100 text-center text-xl font-medium uppercase transition-all duration-500 opacity-0 z-10 absolute top-0 left-0 w-full">Netflix - 6 MESES</h2>
    <a href=" link aqui " class="buy buy-netflix absolute bottom-0 bg-gray-600 hover:bg-gray-500 text-white px-4 py-2 rounded-full transition-all duration-500 opacity-0 z-10 bg-netflix">COMPRE AGORA</a>
    <div class="image image-3">
      <img src="https://www.freepnglogos.com/uploads/netflix-logo-circle-png-5.png" alt="Netflix" class="product rounded transition-all duration-500">
    </div>
  </div>
</div>  
  </div> 
    <script src="https://static.codepen.io/assets/common/stopExecutionOnTimeout-157cd5b220a5c80d4ff8e0e70ac069bffd87a61252088146915e8726e5d9f147.js"></script>

  <script src='https://cdnjs.cloudflare.com/ajax/libs/vanilla-tilt/1.7.0/vanilla-tilt.min.js'></script>
  
      <script id="rendered-js" >
VanillaTilt.init(document.querySelectorAll(".card"), {
  max: 20,
  speed: 1000,
  transition: true });
//# sourceURL=pen.js
    </script>

  

</body>

</html>
 

windows – Error while doing DCOM lateral movement

Current user is in “Distributed COM Users” group. Anyone can help with using DCOM for lateral movement? Getting this error:

PS C:> $ComputerName = "TEST-BOX" # Remote computer
PS C:> $clsid = "{7e0423cd-1119-0928-900c-e6d4a52a0715}" # GUID of the COM object
PS C:> $Type = (Type)::GetTypeFromCLSID($clsid, $ComputerName)
PS C:> $ComObject = (Activator)::CreateInstance($Type)
Exception calling "CreateInstance" with "1" argument(s): "Retrieving the COM class factory for remote component with CLSID
{7E0423CD-1119-0928-900C-E6D4A52A0715} from machine TEST-BOX failed due to the following error: 80040154 TEST-BOX."
At line:1 char:1
+ $ComObject = (Activator)::CreateInstance($Type)
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) (), MethodInvocationException
    + FullyQualifiedErrorId : COMException