How do i extract data from response and use it in url for next request in Burp Intruder?

URL = https://www.example.com/send?session=abcabcabc

when above url is requested, a response comes with < a > tag which contains new url with different session value like: https://www.example.com/send?session=xyzxyzxyz

as you can notice, session value has changed and it changed on each request.

So my question is how can i use Burp intruder to do repeated request?

workflow should be:

Burp > request sent > gets response > take url or session value from response > send request with updated session value in url > loop continues.

Stored Procedure in MySQL to extract text

I’m not very familiar with MySQL 5.5, but i want to create a stored procedure that extracts variables from a text when calling it. Some help would be appreciated. The table has a lot of entries and I want a procedure that extracts text from “booking_data” field in “wp_data1” table

The text in booking_data table looks like this: “a:11:{s:12:”gdlr-room-id”;a:1:{i:0;s:4:”4351″;}s:13:”gdlr-check-in”;s:10:”2018-12-04″;s:10:”gdlr-night”;s:1:”1″;s:14:”gdlr-check-out”;s:10:”2018-12-05″;s:17:”gdlr-checkin-hour”;s:2:”12″;s:16:”gdlr-checkin-min”;s:2:”00″;s:16:”gdlr-room-number”;s:1:”1″;s:17:”gdlr-adult-number”;a:1:{i:0;s:1:”2″;}s:20:”gdlr-children-number”;a:1:{i:0;s:1:”0″;}s:7:”service”;a:1:{i:0;s:4:”4352″;}s:14:”service-amount”;a:1:{i:0;s:0:””;}}”

The variables I want to extract are: “gdlr-room-id”;a:1:{i:0;s:4:”4351“;} “gdlr-check-in”;s:10:”2018-12-04” “gdlr-night”;s:1:”1” “gdlr-check-out”;s:10:”2018-12-05” . The values for the variables listed are in bold

after calling procedure, the result should look like this: 4351,2018-12-04,1,2018-12-05

Please help, thank you

MySql – RegEx extract variable sequence of number

I do have this table:

DROP TABLE IF EXISTS test2_sim; CREATE TABLE test2_sim ( texto VARCHAR(1024) NOT NULL ); 

with this records:

INSERT INTO test2_sim (texto) VALUES ('/A/posts/2088973241125818'); INSERT INTO test2_sim (texto) VALUES ('/A/posts/2088973241125818?commen'); INSERT INTO test2_sim (texto) VALUES ('/B/posts/10155759853867175?__xts_'); INSERT INTO test2_sim (texto) VALUES ('/C/posts/595673157521288'); INSERT INTO test2_sim (texto) VALUES ('/D/posts/365108183946?__xts__%5B0%5D=68.ARCs'); INSERT INTO test2_sim (texto) VALUES ('/E/posts/1028007200735853?__xts__%5B0%5'); 

I’m trying to extract for each record the variable sequence of numbers, for example

Record1 > 2088973241125818 Record2 > 2088973241125818 Record3 > 10155759853867175 

Is it possible to use REGEX command in the Select statements? like:

Select *, REGEX(texto,'^[specific_patterns]' AS regex_out from test2_sim; 

Thanks a lot Regs

Essential cbd extract as well as the justification

essential cbd extract for the occasioning scenario providing increase to such pressure. This "objectivizing"–moving from a subjective connection with respect to be involved (and its occasioning situation) to a quasi-objective relationship–is crucial for the effective operating with pressure. Ignorance simply perpetuates the illness, and may even intensify it. Self-understanding is at the core of psychological wellness and…

Essential cbd extract as well as the justification

extract data from a xml file to Excel or a txt file

I want to figure out how I can pull data from the a record in an xml and out put that information into a excel or just a text file with proper separation so I can easily copy it. Below is a sample of a record and I simply want to get the information from ITEM_NO, DESCRIPTION, CATEGORY, CLASSIFICATION, LIST_RATE.

 <Record> <ITEM_NO> 049000045734</ITEM_NO> <ITEM_MANU>0</ITEM_MANU> <LOCATION>2</LOCATION> <DESCRIPTION>Powerade Lemon 32 Oz</DESCRIPTION> <CATEGORY>ED</CATEGORY> <CLASSIFICATION>Non-Alcoholic Drink</CLASSIFICATION> <SUB_CATEGORY></SUB_CATEGORY> <PLACEMENT>1</PLACEMENT> <DEPARTMENT>0</DEPARTMENT> <REV_ACCT>200</REV_ACCT> <ISSU_UNT_CST>0</ISSU_UNT_CST> <ISSU_UNT_MEA>EA</ISSU_UNT_MEA>  <PRICING>  <LIST_TYPE>F</LIST_TYPE>  <LIST_RATE>3.5</LIST_RATE>  <LIST_TOGO>0</LIST_TOGO>  <LIST_TOGOA>0</LIST_TOGOA>  <LIST_ROOM>0</LIST_ROOM>  <LIST_ROOMA>0</LIST_ROOMA>  <LIST_BAR>0</LIST_BAR>  <LIST_BARA>0</LIST_BARA>  <LIST_CHILD>0</LIST_CHILD>  <LIST_TEENS>0</LIST_TEENS>  <LIST_SENIOR>0</LIST_SENIOR>   <TAXES>   <TAXRATE1>0</TAXRATE1>   <TAXRATE2>0</TAXRATE2>   <TAXRATE3>0</TAXRATE3>   <PUR_UNT_MEA>EA</PUR_UNT_MEA>   <PUR_UNT_CST>0</PUR_UNT_CST>   <CNV_UM>1</CNV_UM>   <REORDER_PT>0</REORDER_PT>   <REORDER_QTY>0</REORDER_QTY>   <STD_COST>0</STD_COST>   <LEAD_TIME>0</LEAD_TIME>   <QTY_ONHAND>-14</QTY_ONHAND>   <QTY_ONORDER>0</QTY_ONORDER>   <QTY_INSTOCK>0</QTY_INSTOCK>   <LAST_SALE_DT>79636</LAST_SALE_DT>   <ITEMSTATUS>A</ITEMSTATUS>   <DISPLAYICON></DISPLAYICON>   <TIMESSELECTED></TIMESSELECTED>   <OVERRIDEGROUP1>0</OVERRIDEGROUP1>   <OVERRIDEGROUP2>0</OVERRIDEGROUP2>   <OVERRIDEGROUP3>0</OVERRIDEGROUP3>   <OVERRIDEGROUP4>0</OVERRIDEGROUP4>   <OVERRIDEGROUP5>0</OVERRIDEGROUP5>   <OVERRIDEGROUP6>0</OVERRIDEGROUP6>   <OVERRIDEGROUP7>0</OVERRIDEGROUP7>   <OVERAMTGROUP1>0</OVERAMTGROUP1>   <OVERAMTGROUP2>0</OVERAMTGROUP2>   <OVERAMTGROUP3>0</OVERAMTGROUP3>   <OVERAMTGROUP4>0</OVERAMTGROUP4>   <OVERAMTGROUP5>0</OVERAMTGROUP5>   <OVERAMTGROUP6>0</OVERAMTGROUP6>   <OVERAMTGROUP7>0</OVERAMTGROUP7>   <ORIDEPRINTER>0</ORIDEPRINTER>   <EIGHTYSIX>0</EIGHTYSIX>   <COUNTDOWN>0</COUNTDOWN>   <ADDTIPLINE>0</ADDTIPLINE>   <EXT_DESC></EXT_DESC>   </TAXES>  </PRICING> </Record> 

Vlookup using Regex Extract – Google Sheets

I trying to do insert an image into a cell in google sheets. I’m using vlookup and regex extract to lookup columns to retrieve the image URL for the IMAGE function in google sheets.

However one of the lookup columns has the lookup value (SKU) but in a string.

When the string ends with the lookup value (SKU) it works, when it starts with the lookup value (SKU) it does’nt work.

I have shared the sheet with examples where it works and where it doesn’t.

I’d like it to work regardless of where the lookup value is (SKU) in the string even it the string has special characters.

The vlookup search_Key is something like this

GK0095 GK0082 GK0083 GK0087 GK0086 

The vlookup range uses regexextract to get the search_key from the first column of the range which has a string that contains the search_key.

For example

GK0095-gustav-klimt-margaret-stonborough-wittgenstein.jpg gustav-klimt-apple-tree-GK0082.jpg GK0083 gustav klimt poppy field.jpg GK0087-gustav-klimt kirche in cassone.jpg GK0086.jpg 

So how do I use regexextract within vlookup to lookup the search_key from a no pattern string that contains the search_key.

I using this

=FILTER(VLOOKUP($  A2,{REGEXEXTRACT(Sheet2!$  A:$  A,"([^.-]*)\."),Sheet2!$  B:$  B},2,0),$  A2<>"") 

But this only seems to work when the search_key is at the end of the string or if the string only contains the earch_key.

How to extract weights “from input layer to hidden layer” and from “from hidden layer to output layer” with Keras API?

Hello I am new in Keras and I am trying to get weight in Keras.

I know how to get weight in Tensorflow in Python. Code below:

data = np.array(attributes, 'int64') target = np.array(labels, 'int64')  feature_columns = [tf.contrib.layers.real_valued_column("", dimension=2, dtype=tf.float32)] learningRate = 0.1 epoch = 10000  # https://www.tensorflow.org/api_docs/python/tf/metrics validation_metrics = { "accuracy": tf.contrib.learn.MetricSpec(metric_fn = tf.contrib.metrics.streaming_accuracy , prediction_key = tf.contrib.learn.PredictionKey.CLASSES), "precision": tf.contrib.learn.MetricSpec(metric_fn = tf.contrib.metrics.streaming_precision , prediction_key = tf.contrib.learn.PredictionKey.CLASSES), "recall": tf.contrib.learn.MetricSpec(metric_fn = tf.contrib.metrics.streaming_recall , prediction_key = tf.contrib.learn.PredictionKey.CLASSES), "mean_absolute_error": tf.contrib.learn.MetricSpec(metric_fn = tf.contrib.metrics.streaming_mean_absolute_error , prediction_key = tf.contrib.learn.PredictionKey.CLASSES), "false_negatives": tf.contrib.learn.MetricSpec(metric_fn = tf.contrib.metrics.streaming_false_negatives , prediction_key = tf.contrib.learn.PredictionKey.CLASSES), "false_positives": tf.contrib.learn.MetricSpec(metric_fn = tf.contrib.metrics.streaming_false_positives , prediction_key = tf.contrib.learn.PredictionKey.CLASSES), "true_positives": tf.contrib.learn.MetricSpec(metric_fn = tf.contrib.metrics.streaming_true_positives , prediction_key = tf.contrib.learn.PredictionKey.CLASSES) }  # validation monitor validation_monitor = tf.contrib.learn.monitors.ValidationMonitor(data, target, every_n_steps=500, metrics = validation_metrics)  classifier = tf.contrib.learn.DNNClassifier( feature_columns = feature_columns, hidden_units = [3], activation_fn = tf.nn.sigmoid, optimizer = tf.train.GradientDescentOptimizer(learningRate), model_dir = "model", config = tf.contrib.learn.RunConfig(save_checkpoints_secs = 1) )  classifier.fit(data, target, steps = epoch, monitors = [validation_monitor])  # print('Params:', classifier.get_variable_names()) ''' Params: ['dnn/binary_logistic_head/dnn/learning_rate', 'dnn/hiddenlayer_0/biases', 'dnn/hiddenlayer_0/weights', 'dnn/logits/biases', 'dnn/logits/weights', 'global_step'] '''  print('total steps:', classifier.get_variable_value("global_step")) print('weight from input layer to hidden layer: ', classifier.get_variable_value("dnn/hiddenlayer_0/weights")) print('weight from hidden layer to output layer: ', classifier.get_variable_value("dnn/logits/weights")) 

Is there anyway to obtain weight from (in Keras) like in Tensorflow:

  1. weight from input layer to hidden layer
  2. weight from hidden layer to output layer

This is my model in Keras:

model = Sequential() model.add(Flatten(input_shape=x_train.shape[1:])) model.add(Dense(256, activation='relu')) model.add(Dropout(0.5)) model.add(Dense(1, activation='sigmoid')) 

Can we extract the notion of “Physical” Field if we introduce Fermat Theory?

Usually we talk about of ‘action functional’ if we talk about of ‘physical’ Field but I wish to follow another path.

A ‘Fermat theory’ is a Lawvere theory that extends the usual theory of commutative rings by permitting differentiation.

The differential calculus is essential in Physical context, without so I’m curious if the transition to Field to ‘Physical’ Field can be extracted if we introduce the Fermat Theory

Other useful links and informations

  1. A field is a commutative ring where and every non-zero element a is invertible
  2. Loops are also described by a Lawvere theory
  3. A loop is a quasigroup with an identity element.
  4. The single element of the trivial group is the identity element

My idea is to consider this definition as a real mathematical subfield notion

Differential calculus is a subfield of calculus

In mathematics, and, in particular, in algebra, a field extension is a pair of fields $ E\subseteq F$ such that the operations of $ E$ are those of $ F$ restricted to $ E$ . In this case, $ F$ is an extension field of $ E$ and $ E$ is a subfield of $ F$

In this context we can think the ‘physical’ field a differentiable subfield when we don’t have a differentiable field ?.