Sponsored Content
Top Forums UNIX for Beginners Questions & Answers How to find precise nonce values from a virtualhost directory? Post 303045853 by magneticfielder on Wednesday 15th of April 2020 02:22:58 PM
Old 04-15-2020
Quote:
Originally Posted by RudiC
Wouldn't some decent, representative input sample data be wonderful?
Try
Code:
grep -o "nonce=['\"][^'\"]*['\"]" file


Thank you. That printed all cached files from ./wp-content/cache/wpo-cache/5X.XX.XX.XX/index.html, I will try using them in CSP. I guess all nonces are there in cached content.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Apache httpd.conf <VirtualHost> issue

I have just configured httpd.conf on a new Redhat 9 install. Below are my additions to httpd.conf. Everything works fine except that when typing http://spetnik.d2g.com into my web browser, I am sent to the "Default catch all" site. Any clues? NameVirtualHost *:80 #Default catch all ... (5 Replies)
Discussion started by: Spetnik
5 Replies

2. Web Development

Apache: Forward Proxy Via Virtualhost

I've set up a forward proxy within a VirtualHost (see below) on Apache 2.2.11. I then browse using mydomain.com:80 as the proxy - I've also tried using the IP address of the VirtualHost xxx.xxx.xxx.xxx:80. It works fine, the only problem is that in both cases the server's main IP address is always... (2 Replies)
Discussion started by: krunksta
2 Replies

3. Web Development

Apache virtualhost dinternal domain

Hello, I have have installed two web applications on one server with one IP address and one domain name (mynet.intra). Is it possible to configure in apache 2.2 that access to one application would be from "app1.mynet.intra" and to another application from address "app2.mynet.intra"? Document... (1 Reply)
Discussion started by: kreno
1 Replies

4. Shell Programming and Scripting

find values between values in two different fields

Hi, I need help to find values between two different fields based on $6 (NUM) AND $1 (CD), within the same ID. The result should show the values between the NUMs which will be extracted from within $3 and $2 in data.txt file below. data.txt ex 139 142 Sc_1000004 ID 4 CD ... (2 Replies)
Discussion started by: redse171
2 Replies

5. Shell Programming and Scripting

virtualhost script

can anyone help me to write a script to delete the virtualhost entry in apache vhosts.conf file: hint: when i enter ./deletedomain test.com it should delete the test.com virtualhost entry from vhosts.conf file (2 Replies)
Discussion started by: pssooraj72
2 Replies

6. Shell Programming and Scripting

Solaris, Perl, and precise system uptime??

OK folks, my first post here.. hope the community can come up with a clever solution. Cross posting this in the Solaris and Shell scripting forums, as problem is scripting problem specifically on Solaris platform. I am trying to detect a host's uptime with greater precision than is offered up... (1 Reply)
Discussion started by: Yeaboem
1 Replies

7. Solaris

Precise system uptime??

OK folks, my first post here.. hope the community can come up with a clever solution. Cross posting this in the Solaris and Shell scripting forums, as problem is scripting problem specifically on Solaris platform. I am trying to detect a host's uptime with greater precision than is offered up... (1 Reply)
Discussion started by: Yeaboem
1 Replies

8. Linux

Apache/2.2.25 VirtualHost not working

I am having problems in implementing the virtual hosts here in my server. I have this one cloud dev server: Amazon Linux AMI release 2013.03 (based on RHEL like CentOS) with Apache 2.2.25 installed and I'm trying to create 2 virtual hosts: test-kalc.tk and test2-kalc.tk. If I go to... (2 Replies)
Discussion started by: jpdoria
2 Replies

9. Shell Programming and Scripting

SVN for actual VirtualHost

hi, Earlier I had this thread posted on "UNIX for Experts" Group here in unix.com, but somehow no one bothered to respond, so I thought someone might be able to help me here. In short, I have to make accessible a directory via SVN to all 5 developers, call it /var/www/html/beta3 ... (0 Replies)
Discussion started by: busyboy
0 Replies

10. Shell Programming and Scripting

[zenity] precise progress bar

Hello everyone, Is it possible to have a precise progress bar in zenity during the execution of the following: find -type f \( -not -name "$file_name".md5 \) -exec md5sum '{}' \; > "$file_name".md5Currently I am using zenity --title="Running..." --progress --pulsate --auto-close... (1 Reply)
Discussion started by: soichiro
1 Replies
NSCD(8) 						    BSD System Manager's Manual 						   NSCD(8)

NAME
nscd -- name service caching daemon SYNOPSIS
nscd [-dnst] [-i cachename] [-I cachename] DESCRIPTION
The nscd utility is the system caching daemon. It can cache almost all types of data and is basically intended to be used with the nsswitch subsystem. The cache is actually per-user. This means that each user can work only with the cached data that were cached by themselves, and cannot poison the cache of other users. The nscd utility supports two types of caching: Type Description Common caching Each cached element is the key+value pair. This type of caching supports policies which are applied when maximum number of cached ele- ments is exceeded. Three policies are available: FIFO (first in - first out), LRU (least recently used) and LFU (least frequently used). This type of caching is used with the getXXXbyname() family of functions. Multipart caching Each cached element is the part of the elements sequence. This type of caching is intended to be used with the getXXXent() family of functions. The nscd utility is able not only to cache elements, but to perform the actual nsswitch lookups by itself. To enable this feature, use the perform-actual-lookups parameter in nscd.conf(5). The nscd utility recognizes the following runtime options: -n Do not daemonize; nscd will not fork or disconnect itself from the terminal. -s Single-threaded mode. Forces using only one thread for all processing purposes (it overrides the threads parameter in the nscd.conf(5) file). -t Trace mode. All trace messages will be written to stdout. This mode is usually used with -n and -s flags are used for debugging purposes. -i cachename Invalidates personal cache. When specified, nscd acts as the administration tool. It asks the already running nscd to invalidate the specified part of the cache of the calling user. For example, sometimes you may want to invalidate your ``hosts'' cache. You can specify ``all'' as the cachename to invalidate your personal cache as a whole. You cannot use this option for the cachename for which the perform-actual-lookups option is enabled. -I cachename Invalidates the cache for every user. When specified, nscd acts as the administration tool. It asks the already running nscd to invalidate the specified part of the cache for every user. You can specify ``all'' as the cachename to invalidate the whole cache. Only the root can use this option. FILES
/etc/nscd.conf The default configuration file. SEE ALSO
nsdispatch(3), nscd.conf(5), nsswitch.conf(5) AUTHORS
Michael Bushkov <bushman@FreeBSD.org> BUGS
Please send bug reports and suggestions to <bushman@FreeBSD.org>. BSD
October 20, 2005 BSD
All times are GMT -4. The time now is 08:58 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy