Decode/decrypt Cipher text of unknown custom algorithm

I have a university assignment by the professor to decode unknown encoding schemes but i haven’t able to decode. The message is sample of communication between Indian external affairs to different country’s embassies. The professor hint first few Plain text characters as:


and also hint the plain text charters length, as Ciphertext hexadecimal charter are 3296, the Plain text characters length will be 2824(hex char)

The Cipher text is(with egm extension):


Magento 2.3.1 Search Bar Error – Unknown column ‘search_result.score’

Relatively new to Magento. Helped a friend migrate a site from M1 to M2. Using Porto Theme.

Search Bar seems to work (does auto querying as you type and makes suggestions) until you hit ‘Enter’ at that point you get the following error:

{“0”:”SQLSTATE[42S22]: Column not found: 1054 Unknown column ‘search_result.score’ in ‘order clause’, query was: SELECT e., price_index.price, price_index.tax_class_id, price_index.final_price, IF(price_index.tier_price IS NOT NULL, LEAST(price_index.min_price, price_index.tier_price), price_index.min_price) AS minimal_price, price_index.min_price, price_index.max_price, price_index.tier_price, cat_index.position AS cat_index_position, stock_status_index.stock_status AS is_salable FROM catalog_product_entity AS e\n INNER JOIN catalog_product_index_price AS price_index ON price_index.entity_id = e.entity_id AND price_index.website_id = ‘1’ AND price_index.customer_group_id = 0\n INNER JOIN catalog_category_product_index_store1 AS cat_index ON cat_index.product_id=e.entity_id AND cat_index.store_id=1 AND cat_index.visibility IN(3, 4) AND cat_index.category_id=2\n INNER JOIN cataloginventory_stock_status AS stock_status_index ON e.entity_id = stock_status_index.product_id ORDER BY search_result.score desc\n LIMIT 24″,”1″:”#1 Magento\Framework\DB\Statement\Pdo\Mysql->_execute(array()) called at [vendor/magento/zendframework1/library/Zend/Db/Statement.php:303]\n#2 Zend_Db_Statement->execute(array()) called at [vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php:480]\n#3 Zend_Db_Adapter_Abstract->query(‘SELECT e., p...', array()) called at [vendor\/magento\/zendframework1\/library\/Zend\/Db\/Adapter\/Pdo\/Abstract.php:238]\n#4 Zend_Db_Adapter_Pdo_Abstract->query('SELECTe.*,p…’, array()) called at [vendor/magento/framework/DB/Adapter/Pdo/Mysql.php:542]\n#5 Magento\Framework\DB\Adapter\Pdo\Mysql->_query(‘SELECT e.*, `p…’, array()) called at [vendor/magento/framework/DB/Adapter/Pdo/Mysql.php:617]\n#6 Magento\Framework\DB\Adapter\Pdo\Mysql->query(&Magento\Framework\DB\Select#0000000027346819000000004114b559#, array()) called at [vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php:737]…

Switched back to Luma theme and still seeing the issue.

Been attempting to track down a solution and have exhausted my limited knowledge. Found the same issue here: Column not found: 1054 Unknown column 'search_result.score' in 'order clause'; but the suggestions there didn’t work for me.

It would appear that there is supposed to be a table named search_result and I can’t see in the mysql logs where the system has created or attempted to create a temporary table named ‘search_result’.

It looks to me like the sql is incorrect in that a relationship to search_result is never established in the query, but maybe that’s not needed.

Do any of you magento experts have any idea what I’m dealing with here? Can I change the query?

Am I Over-Engineering if I add some code for the unknown future?

Look at this code:

Console.WriteLine(; Console.WriteLine("**********"); // 10 stars //... 

Tomorrow, I needed to use 20 stars instead 10 stars. Okay I would change it:

Console.WriteLine(; Console.WriteLine("********************"); // 20 stars //... 

It gives me an idea to write a method for this work:

public void DisplayStars() {    Console.WriteLine("********************"); }  Console.WriteLine(; DisplayStars(); //remaining code 

But when I’m writing code, I think to myself: isn’t that a better solution to add a new parameter for getting number of repetition of character like int count? How about adding another parameter to get repeating character like char whichChar?

public void DisplayStars(int count, char whichChar) {    string s=new String(whichChar, count);    Console.WriteLine(s); } 

Why int? It seems uint is better type. No No, byte is best. What if user passes an empty character, What if he\she passes too big (or small) number for count? And these goes on…

I often add some code because I think that I might need it in the future. These is my day-to-day programming challenges. Am I Over-Engineering? Am I perfectionism? If not, what is Over-Engineering?

Find an unknown matrix from an equation

I need to find an unknown matrix, H, from this equation:

K2 = Transpose[H].K1.H.

K1 and K2 are 2×2 matrices, and H is the unknown matrix, also 2×2. I know the first element of H, H(1,1)=1.

Can I simply use of some Mathematica functions? Because I tried with Solve:


Doesn’t work.

Please help me.

Specifically I have this matrices:

 K1 = {{10385.46, -306.12}, {-306.12, 225.8}};  K2 = {{10049.794, 378.59}, {378.59, 1807.16}};  H = {{1, h12}, {h21, h22}}; 

For which I have this warning:

Solve was unable to solve the system with inexact coefficients. The answer was obtained by solving a corresponding exact system and numericizing the result

Unable to connect to ethernet. ethtool reports unknown speed and unknown duplex

I am trying to receive an internet connection through ethernet. My desktop is running Ubuntu 16.04.

The network manager applet reports as having connected to enp0s31f6, yet my computer has not received a DHCP address.

dhclient output seems to indicate that no DHCPOFFERs are being received from the server (more DHCPDISCOVER requests are sent with no change in the output):

~$   sudo dhclient -v enp0s31f6 Internet Systems Consortium DHCP Client 4.3.3 Copyright 2004-2015 Internet Systems Consortium. All rights reserved. For info, please visit  Listening on LPF/enp0s31f6/0c:9d:92:bd:9b:57 Sending on   LPF/enp0s31f6/0c:9d:92:bd:9b:57 Sending on   Socket/fallback DHCPDISCOVER on enp0s31f6 to port 67 interval 3 (xid=0xfff5a066) DHCPDISCOVER on enp0s31f6 to port 67 interval 8 (xid=0xfff5a066) DHCPDISCOVER on enp0s31f6 to port 67 interval 13 (xid=0xfff5a066) DHCPDISCOVER on enp0s31f6 to port 67 interval 13 (xid=0xfff5a066) 

ethtool reports the following information. The value of Unknown! for the Speed and Duplex attributes seems suspect. Will I ever be able to connect when these values are unknown? If not, how can I fix this unknown values problem?

~$   sudo ethtool enp0s31f6 Settings for enp0s31f6:     Supported ports: [ TP ]     Supported link modes:   10baseT/Half 10baseT/Full                              100baseT/Half 100baseT/Full                              1000baseT/Full      Supported pause frame use: No     Supports auto-negotiation: Yes     Advertised link modes:  10baseT/Half 10baseT/Full                              100baseT/Half 100baseT/Full                              1000baseT/Full      Advertised pause frame use: No     Advertised auto-negotiation: Yes     Speed: Unknown!     Duplex: Unknown! (255)     Port: Twisted Pair     PHYAD: 2     Transceiver: internal     Auto-negotiation: on     MDI-X: Unknown (auto)     Supports Wake-on: pumbg     Wake-on: g     Current message level: 0x00000007 (7)                    drv probe link     Link detected: no 

I’ve tried to set their values manually, to no avail:

~$   sudo ethtool -s enp0s31f6 speed 1000 duplex full ~$   sudo ethtool enp0s31f6 Settings for enp0s31f6:     Supported ports: [ TP ]     Supported link modes:   10baseT/Half 10baseT/Full                              100baseT/Half 100baseT/Full                              1000baseT/Full      Supported pause frame use: No     Supports auto-negotiation: Yes     Advertised link modes:  1000baseT/Full      Advertised pause frame use: No     Advertised auto-negotiation: Yes     Speed: Unknown!     Duplex: Unknown! (255)     Port: Twisted Pair     PHYAD: 2     Transceiver: internal     Auto-negotiation: on     MDI-X: Unknown (auto)     Supports Wake-on: pumbg     Wake-on: g     Current message level: 0x00000007 (7)                    drv probe link     Link detected: no 

Here’s some snippets filtered from dmesg, in case they’re relevant:

~$   dmesg | grep enp [    1.719930] e1000e 0000:00:1f.6 enp0s31f6: renamed from eth0 [    7.980215] IPv6: ADDRCONF(NETDEV_UP): enp0s31f6: link is not ready [    8.221865] IPv6: ADDRCONF(NETDEV_UP): enp0s31f6: link is not ready [  314.654059] IPv6: ADDRCONF(NETDEV_UP): enp0s31f6: link is not ready   ~$   dmesg | grep e1000e [    1.339047] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k [    1.339047] e1000e: Copyright(c) 1999 - 2015 Intel Corporation. [    1.406037] e1000e 0000:00:1f.6: Interrupt Throttling Rate (ints/sec) set to dynamic conservative mode [    1.651130] e1000e 0000:00:1f.6 0000:00:1f.6 (uninitialized): registered PHC clock [    1.719235] e1000e 0000:00:1f.6 eth0: (PCI Express:2.5GT/s:Width x1) 0c:9d:92:bd:9b:57 [    1.719236] e1000e 0000:00:1f.6 eth0: Intel(R) PRO/1000 Network Connection [    1.719304] e1000e 0000:00:1f.6 eth0: MAC: 12, PHY: 12, PBA No: FFFFFF-0FF [    1.719930] e1000e 0000:00:1f.6 enp0s31f6: renamed from eth0 

The Ubuntu Network Manager GUI reports that the ‘Wired’ connection is ‘Connected’, but there’s no assigned address.

I’ve rebooted the machine at various points through the debugging so far, which did not fix the problem.

Unknown manufacturer of services in windows system configuration

I would like to ask if I can trust unknown manufacturer detected by windows system configuration.

As you can see in the screenshot, all of the other services is known manufacturer but there is one service that using asus name but their manufacturer is unknown.

And after that how do I analysis it to check if it is really a malware ? doing static analysis ? dynamic analysis ?

enter image description here

Potential Solutions to loading Javascript classes unknown at run time

I’m looking for some advice or potential options for loading javascript files in real time long after the DOM has fully loaded. Those javascript files need to be sent over a WebSocket connection, and thus are unknown on page load.

Backstory: I’ve been working on a VR game for the past year and a half, and progress has been fantastic. I won’t waste time going into irrelevant details, but crucially the game is played by one person in VR, and up to 4 other people on their mobile devices.

Now, I’ve been going through and adding the possibility of mod support. So far this has gone surprisingly well, the Desktop VR game transmits relevant details about all the game-specific information when the mobile players connect, and we go from there.

Except I’ve hit a snag on one system: “Constructs” that the mobile players can place. Each one is so fundamentally different in use and operation that I’ve had to create separate classes on a case by case basis. But now with the potential for mod support… Those classes need to somehow be sent by the VR player over WebSocket.

My first naive approach was to use eval and function with a passed string containing javascript contents of an entire file sent from the VR user… Needless to say, that didn’t work very well.

Any thoughts at all here for this brick wall I’ve run into?

Erro no ajax com 419 (unknown status)?

O código funciona até um certo tempo depois para de rodar:


<script type="text/javascript">       $  (document).ready(function(){                     fetch_data();                    function fetch_data()                   {                    $  .ajax({                     url:"{{route('admin.contatos.preenche.table',"$  devedor->id")}}",                     dataType:"json",                     success:function(data)                     {                      var html = '';                      html += '<tr>';                      html += '<td contenteditable id="tipo"></td>';                      html += '<td contenteditable id="descricao"></td>';                      html += '<td><button type="button" class="btn btn-success btn-xs" id="add">Add</button></td></tr>';                      for(var count=0; count < data.length; count++)                      {                       html +='<tr>';                       html +='<td contenteditable class="column_name" data-column_name="tipo" data-id="'+data[count].id+'">'+data[count].tipo+'</td>';                       html += '<td contenteditable class="column_name" data-column_name="descricao" data-id="'+data[count].id+'">'+data[count].descricao+'</td>';                       html += '<td><button type="button" class="btn btn-danger btn-xs delete" id="'+data[count].id+'">Delete</button></td></tr>';                      }                      $  ('tbody').html(html);                     }                    });                   }                    var _token = $  ('input[name="_token"]').val();                       $  (document).on('click', '#add', function(){                 var tipo = $  ('#tipo').text();                 var descricao = $  ('#descricao').text();                 var devedor_id = "{{ $  devedor->id }}";                 if(tipo != '' && descricao != '')                 {                 $  .ajax({                      url:"{{route('admin.contatos.salva.table')}}",                     method:"POST",                     data:{tipo:tipo, descricao:descricao ,devedor_id:devedor_id , _token:_token},                     success:function(data)                     {                     $  ('#message').html(data);                     fetch_data();                     }                 });                 }   else   {    $  ('#message').html("<div class='alert alert-danger'>Both Fields are required</div>");   }  });   $  (document).on('blur', '.column_name', function(){   var column_name = $  (this).data("column_name");   var column_value = $  (this).text();   var id = $  (this).data("id");    if(column_value != '')   {    $  .ajax({      url:"{{ route('admin.contatos.update.table') }}",     method:"POST",     data:{column_name:column_name, column_value:column_value, id:id, _token:_token},     success:function(data)     {      $  ('#message').html(data);     }    })   }   else   {    $  ('#message').html("<div class='alert alert-danger'>Enter some value</div>");   }  });    $  (document).on('click', '.delete', function(){   var id = $  (this).attr("id");   if(confirm("Tem certeza que quer deletar esse contato?"))   {    $  .ajax({      url:"{{ route('admin.contatos.delete.table') }}",     method:"POST",     data:{id:id, _token:_token},     success:function(data)     {      $  ('#message').html(data);      fetch_data();     }    });   }  });   }); 


 <div class="container">    <h3 align="center">Lista de contatos cadastrados</h3>    <br />    <div class="panel panel-default">       <div class="panel-heading">Sample Data</div>       <div class="panel-body">          <div id="message"></div>          <div class="table-responsive">             <table class="table table-striped table-bordered">                <thead>                   <tr>                      <th>Tipo</th>                      <th>Contato</th>                      <th>Delete</th>                   </tr>                </thead>                <tbody>                </tbody>             </table>             {{ csrf_field() }}          </div>       </div>    </div> </div>