Anyone have any idea what this cypher might say or what type of cypher it is or how to decrypt it? This cypher supposedly describes a magnet arrangement for a setup that includes 8 equally spaced square magnets attached to the outside diameter of a 3” diameter brass rotor and 6 round magnets plus 1 square magnet on a stator. All square magnets are 1/8"x1/2"x1/2" and the round magnets are 1/2" diameter x 3/8" thick. Location/orientation, polarity and power (or part number) of magnets may also be included in the cypher. The cypher may or may not use a key. If it does use a key, the key may be the characters that follow the word “KEY” in the cypher or the key might be mecsdgp. Some magnetic shielding is used in this device and may or may not be included in the cipher.
707-28 1009-9-6 420/6
1434-30/1 322@7
1819=4-5 95+3=18
431>8
KEY
739/Y4681
+UU312/1J000(766HH
DKEY)
6/12/LLL394H3M
Hello everyone,
i would like to encrypt & decrypt data at the application level.
This data needs to be send to another device via wireless.I found one such cipher named ceaser cipher in the internet.But it looks weak and easy to be broken. Can someone suggest me robust cipher's concepts which can be done at application layer?
Hello All,
I am rookie when it comes to security protocols and I am learning this as part of my job responsibilities.
Recently our Application started implementing TLSv1.2 and here are some questions that I have from my observations.
1st the term ciphers, keys, certs are all very confusing to however I started to get some understanding of these as I am reading a lot of stuff.
Now, my application is running on "X" server and only accepts TLS1.X connections since the i use java 7 where ssl2Hello is disabled
now from Server "A" when I run cmd: openssl s_client -tls1 -host xxx -port yyyy
I get back a response in which I see a line
New, TLSv1/SSLv3, Cipher is ECDHE-RSA-AES128-SHA
the openssl version on server A is: 1.0
when I run the same command from another server "B" I get a response in which the line says:
New, TLSv1/SSLv3, Cipher is EDH-RSA-DES-CBC3-SHA
the openssl version on server B is: 0.9
My understanding of cipher was something that is enforced by the application server "X" and not by the client that is making the call. Is that a wrong understanding ?
And how can I find out what type of cipher is being enforced by the server "X" when someone makes a call to it.
Anyone who can help me understand why the difference how this entire stuff operates.
Help much appreciated.
i need a bash script to switch to zero second on ac the waiting time for turning off the monitor (highlighten in red). same as for on battery (highlighten in purple)
Code:
<?xml version="1.0" encoding="UTF-8"?>
<channel name="xfce4-power-manager" version="1.0">
<property name="xfce4-power-manager" type="empty">
<property name="power-button-action" type="empty"/>
<property name="show-tray-icon" type="empty"/>
<property name="logind-handle-lid-switch" type="bool" value="true"/>
<property name="dpms-on-ac-sleep" type="uint" value="1"/>
<property name="dpms-on-ac-off" type="uint" value="2"/>
<property name="brightness-on-battery" type="uint" value="9"/>
<property name="dpms-on-battery-sleep" type="uint" value="1"/>
<property name="dpms-on-battery-off" type="uint" value="2"/>
<property name="lock-screen-suspend-hibernate" type="bool" value="false"/>
<property name="dpms-enabled" type="bool" value="true"/>
</property>
</channel>
My Oracle RAC 12.1.0.1 runs on ASM. ASM has an I/O timeout of 15 seconds. How do I find my Linux native multipath I/O timeout? I am running RedHat Linux 6 Enterprise, x86-64.
This is the device section of my multipath.conf
devices{
device {
vendor "NETAPP"
product "LUN.*"
path_grouping_policy group_by_prio
getuid_callout "/lib/udev/scsi_id --whitelisted --device=/dev/%n"
path_selector "round-robin 0"
path_checker tur
features "3 queue_if_no_path pg_init_retries 50"
hardware_handler "0"
prio ontap
failback immediate
rr_weight uniform
rr_min_io 128
rr_min_io_rq 1
flush_on_last_del yes
fast_io_fail_tmo 5
dev_loss_tmo infinity
retain_attached_hw_handler yes
detect_prio yes
}
}
Thanks,
keith
Hi,
I am new to UNIX - i wrote this below script based on the requirement. But i am stuck at the concatenation (at the second last step of the code)
The below code is working fine till the concatenation(second last step) - I need to concatenate Hello to the "physId" e.g. - The filename is UM123456789.20150503 - i am extracting M123456789 and i need to append "HELO" to it at the end. But as per the below script - when i am using the concatenation, it is overwriting the M123456789 and the output thus becomes HELO456789. I am trying to get the output as - M123456789HELO - where am i going wrong?
on the terminal i checked - echo $0 and it gave -> /bin/sh. Hence i wrote the below code.
#!bin/sh
absolutePath=/abc/data/abc_unix/stg/decrypt/*.*
filepath=$(echo ${absolutePath%.*})
echo "$filepath"
filenameext=$(echo ${filepath#/abc*decrypt/})
echo "$filenameext"
file=$(echo ${filenameext#.*})
echo "$file"
extract_physId=$(echo ${file:1:9})
physId=$(echo ${extract_physId})
echo "$physId"
key="$physId"HELO
echo "$key"
Hi all ,
I have a requirement where I have a file. Contents of the file are :
#comments
VAR="abg"
RES=123
#comments
IC6790ABG="https://www.abc.com"
IC5678-vg="https://www.bhy.com"
IC-gy_567:78="https://www.gyt.com"
#comments
The variable names can not have characters like - , : so
in this file I have to find words starting with IC and replace characters like - ,:
I want to change only the variable name , not the whole line.
I have used SED command
sed -i '/^IC/s/[^0-9 a-z A-Z _]*//g' file
when I am using this command , it is replacing the whole line
output becomes :
#comments
VAR="abg"
RES=123
#comments
IC6790ABGhttpswwwabccom
IC5678vghttpswwwbhycom
ICgy56778httpswwwgytcom
#comments
But I want the output like this :
#comments
VAR="abg"
RES=123
#comments
IC6790ABG="https://www.abc.com"
IC5678vg="https://www.bhy.com"
ICgy_56778="https://www.gyt.com"
#comments
How can I get the desired output , thanks for your help in advance .
I just installed Redhat 7 and try to config the network , add the IP address to network card , but I got the problem.
I modify the file /etc/sysconfig/network-scripts/ifcfg-enp0s3 , the configuration is as below , and then reboot .
DEVICE="enp0s3"
NETBOOT="yes"
HWADDR="08:00:27:15:38:B7"
TYPE="Ethernet"
BOOTPROTO="none"
NAME="enp0s3"
UUID="462f4834-4fe7-43a7-84e7-83b2722e94c1"
ONBOOT="yes"
IPADDR="192.168.1.1"
NETMASK="255.255.255.0"
After reboot , I use "ip addr show" still not shown the ip address , the ip address is still blank , would advise what is wrong ? thanks
ok so im using osx 10.6.8 but i have something with linux on it somewhere I can try this on if that is the problem
I am attempting to take certain parts out of a html file I have figured out how to write a regular expression to specify this data I want to delete using the search funciton in the text editor TextWrangler:
(?<=<div id="right_col">)[\s\S]*(?=</body>)
This works in text wrangler but when I try to use it with sed it gives me errors like this one:
sed: 1: "(?<=<div id="right_col" ...": invalid command code (
I know to use -e to avoid problems with the unix version OSX is based on. The sed is a bit different because its based on an older unix variant but i did that and its still giving me an error. I assume there is something basic I am missing about formatting your regular expression for using with commandline and what characters you can use. I bet it has something to do with the backslashes or the round brackets. normally I would just keep searching till I find the answer but I am bored of this problem. I need to think about something else for awhile. maybe in the meantime someone else can chime in and help me out.
I am trying to process some .csv files with Linux as follows:
Some fields have data with newline characters embedded, like so:
"Bob Smith
531 Pennsylvania Avenue
Washington, DC"
(I verified the existence of the " via Wordpad. The file is too large to easily edit in Wordpad to get all the data for each row on a single line).
what linux command would I use on the files to get the data in each cell on one line?
I have tried:
1. awk -v RS="" '{gsub (/\n/,"")}1' file > newfile
but the cell data was still being read in as if "531 Pennsylvania Avenue" was a brand new row in the CSV file.
2. Command 1 followed by awk -v RS="" '{gsub (/\r/,"")}1' newfile > finalFile
but that resulted in all of the data in the file being put onto a single line.
3. awk -v RS="" '{gsub (/\r\n/,"")}1' file > newFile
But that result was the same as attempt number 2.
How can I preprocess the file so that:
"Bob Smith
531 Pennsylvania Avenue
Washington, DC"
is read as a single field on a single line as part of the row it should be associated with, like
"Bob Smith 531 Pennsylvania Avenue Washington, DC"
What I did in windows was create images of my drive and restore them.
in linux I am running
Code:
rsync -aAXv --exclude={"/home/*","/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/lost+found"} /* /path/to/backup/folder
and this creates a folder for me with all my files, and apparently saves meta data like permissions and paths...
Since I'm using arch and things break sometimes,I'm booted into a CLI with errors and cannot figure my way out since I'm a noob... would I be able to just delete my entire root and replace it with the rsync backup without a problem?