Security – Can two Bitcoin transactions from a Segwit address (p2sh-p2wpkh) have a reused R value?

Segwit does not use any other signature algorithm and does not change any of the characteristics of an ECDSA signature. So, if you find transactions that contain the same public keys and the same R value, the private key for that public key is displayed.

However, what you are looking at is not the R value. In fact, you do not even look at the signature. You're more likely to look at a part of the RedeemScript. 145d3cbed9f338b82667f410340fcb9bf401c7e837e9f4539b915fb8bced is part of the hash of the witness script, not part of a signature.

The address 3AQ4kUjQaDjCjmDh2ojKEHjUKTSi52UUqD is a P2SH-P2WSH address. This means that it is associated with a P2SH output script (Pay to Script Hash) that contains a speech script for a P2WSH (Pay to Witness Script Hash) script. The P2WSH script contains the hash of the witness script, which in this case is a multisig script.

http – Does it need to be tested if there are security headers in response to the API in javascript code?

I've found in one of the client-side libraries that it checks to see if the answer contains all the following headers with appropriate values ​​(for security reasons):

'content-type', 'application/json'
'content-type', 'charset=utf-8'
'X-Content-Type-Options', 'nosniff'
'content-disposition', 'attachment'
'X-Frame-Options', 'DENY'

If a header does not exist, the library will throw an exception.

I can see no reason how this can improve security by checking client-side libraries.

Does anyone have any idea if this makes sense or does not make sense?

P.S. This is not about whether these headers should be set by the server.

P.P.S. I've found this out, because for some reason, even if the header is present, I can see in logs that sometimes this exception is thrown for them X-... Headlines. I do not really know why, but I suppose either remove proxies headers or some browsers will remove them for some reason in js do not return. I would be happy to hear why, when someone knows reason.

Security – detecting anomalies in cloud computing

In the field of cloud computing, there is a topic for detecting anomalies. I would like to know what the current research topics are and who the most active researchers in this field are. I wrote a diploma thesis that is not of good quality. Maybe you see her here.

I would like to work in this area to make this a good master thesis thesis, but I can not understand what to do, what to code. My options with instructions etc. are limited. I have some practical challenges to deal with, so I wish someone could comment on or guide me a little.

9.0 pie – Manually apply the security update to unlocked and rooted SDM660 devices

My device, BQ Aquaris X2 Pro, is unlocked and Magisk is installed. I wanted to apply the OTA update using the method described here:, but it failed. I would like to manually apply the update by installing the image available here:, but I want to keep my personal information.

Everywhere I searched for people who write to remove them -w However, there is no such parameter in the installation script anywhere in the installation script.

Will it be enough to disable the flashing of user data?

fastboot flash userdata userdata.img

Or maybe I should also disable these lines?

fastboot erase misc
fastboot erase frp

sdm660_fastboot_all_images.bat from firmware 2.2.2

@echo off
adb reboot bootloader
for /f "tokens=2 delims=: " %%a in ('fastboot.exe getvar build_id 2^>^&1 ^| findstr build_id') do set build_id=%%a
if "%build_id%"=="" (goto :Old_Way) else (goto :Check_Device)

set expected=zangyapro
for /f "tokens=2 delims=: " %%a in ('fastboot.exe getvar device 2^>^&1 ^| findstr device') do set device=%%a
if "%device%"=="%expected%" (goto :Flash) else (goto :Error) 
set expected=SDM660
for /f "tokens=2 delims=: " %%a in ('fastboot.exe getvar product 2^>^&1 ^| findstr product') do set product=%%a
if "%product%"=="%expected%" (goto :Flash) else (goto :Error)  

echo for not erase modemst1 and modemst2
fastboot set_active _a
rem fastboot flash partition gpt_both0.bin
fastboot flash bluetooth_a BTFM.bin
fastboot flash bluetooth_b BTFM.bin
fastboot flash devcfg_a devcfg.mbn
fastboot flash devcfg_b devcfg.mbn
fastboot flash dsp_a dspso.bin
fastboot flash dsp_b dspso.bin
fastboot flash modem_a NON-HLOS.bin
fastboot flash modem_b NON-HLOS.bin
fastboot flash xbl_a xbl.elf
fastboot flash xbl_b xbl.elf
fastboot flash pmic_a pmic.elf
fastboot flash pmic_b pmic.elf
fastboot flash rpm_a rpm.mbn
fastboot flash rpm_b rpm.mbn
fastboot flash tz_a tz.mbn
fastboot flash tz_b tz.mbn
fastboot flash hyp_a hyp.mbn
fastboot flash hyp_b hyp.mbn
fastboot flash keymaster_a keymaster64.mbn
fastboot flash keymaster_b keymaster64.mbn
fastboot flash cmnlib_a cmnlib.mbn
fastboot flash cmnlib_b cmnlib.mbn
fastboot flash cmnlib64_a cmnlib64.mbn
fastboot flash cmnlib64_b cmnlib64.mbn
fastboot flash mdtpsecapp_a mdtpsecapp.mbn
fastboot flash mdtpsecapp_b mdtpsecapp.mbn

rem fastboot flash fsg fs_image.tar.gz.mbn.img
rem fastboot flash modemst1 dummy.bin
rem fastboot flash modemst2 dummy.bin
rem fastboot flash persist persist.img
rem fastboot flash sec sec.dat

fastboot erase misc
fastboot erase frp

fastboot flash abl_a abl.elf
fastboot flash abl_b abl.elf
fastboot flash boot_a boot.img
fastboot flash boot_b boot.img
fastboot flash system_a system.img
If NOT exist "system_other.img" (
    fastboot flash system_b system.img
) ELSE (
    echo System Odex Image found!
    fastboot flash system_b system_other.img
fastboot flash vendor_a vendor.img
fastboot flash vendor_b vendor.img
fastboot flash userdata userdata.img
fastboot flash mdtp_a mdtp.img
fastboot flash mdtp_b mdtp.img
fastboot flash splash splash.img

fastboot reboot

echo Device does not match zangyapro and cannot be flashed. Check the FW.

Google Sheets – How to Get the Latest Version Registered Spring Security client and save it to Thread Local. Then pass the value to the current tenant resolver class

Following the approach of the Hibernate Multitenancy database I am developing a multitenant application in which approximately 500 users can log in at the same time option, a logged in user from Spring Safety to the CurrentTenantIdentifierResolver class.

Get the current logged-in client from spring security and set the value for the local thread modifier class

This is the local thread class that contains the currently logged on client

public class Modifier {

private Tenant tenant;

 private static final ThreadLocal CONTEXT = new ThreadLocal<> 

  public static void setTenantId(String tenantId) {



  public static String getTenantId() {
    return CONTEXT.get();

  public static void clear() {


Here I am trying to get the value of the client from the local thread, but after login I get the client value as zero

package com.domain.multitenancy;

 public class CurrentTenantIdentifierResolverimpl implements 
 CurrentTenantIdentifierResolver   {

 String DEFAULT_TENANT_SCHEMA = "tenantId1";

public String resolveCurrentTenantIdentifier() {
String tenantId=Modifier.getTenantId();

if (tenantId == null) {


   return tenantId;


public boolean validateExistingCurrentSessions() {
    // TODO Auto-generated method stub
    return true;


This code was also used. Due to static loading during multi-tenancy, the instance has been updated each time and does not display the correct database associated with the user who is viewing a different database

public class Tenant {

private static String tenantId;

public static String getTenantId() {
   return tenantId;

public static void setTenantId(String tenantId) {
    this.tenantId = tenantId;


Arlo Support | + 1-888-352-3810 | Arlo Home Security – Advertising, Offers

Safety is the main concern for us all when it comes to safety at home. There are different options on the market and too many to choose from. Arlo surveillance cameras Rated as the best among all, which includes live streaming of videos and extreme performance. Still confused about what you get and which is best and why you should make a call for it Arlo customer service At + 1-888-352-3810, the support representative will provide detailed information about the entire process.

Career – Side Jobs for IT Security Professionals?

I have been working in IT security for more than 15 years, covering all related technologies / topics (firewall, VPN, proxy, AV, email, Windows / Linux clients, etc.). I've been working with it for many years and have been adding (log) data analytics and forensics in recent years. I also master scripts (automation, login, etc.), mainly on Linux, but PowerShell is not alien to me either.

To make me feel more productive and to better support my wife and children, I want to make some more money. I should not have another full-time job because I still want to spend time with family and friends. And, at least for the beginning, shorter tasks (I do not want to commit myself immediately for 12 months …) would be desirable.

Any ideas, which jobs or tasks could I take on?

Thank you very much,