Alternative routes for Incident Response approach other than Windows Event Viewer?

I am currently developing an Incident Response Plan for a computer that has been hacked (no malware installed, just a system hack). My plan is to look through Windows Event Viewer to try and detect any unusual behaviour to the machine.

However, if an attacker has changed the contents of the log file or altered the time, what are the alternative routes for developing an IRP other than Windows Event Viewer?

Is it possible to get XSS without event handlers?

I am pentesting a super strange website and was trying to get Stored XSS on their main website. After some hours of testing i found that it is possible to inject sucesfully without any encoding:

<img src="any" alt="any"> 

Cool right? the thing is i have tried +50 event handlers (some of them not even working for images) and 80% of them were blocked by the waf and the rest that were accepted (code 200 instead of 500) but were stripped from the response, even invalid ones. So

<img src="any" asdasd=asdasd alt="any"> Turns into --> <img src="any" alt="any"> 

So i was wondering, is there any possible way to exploit this without event handlers?

i know that isn’t allowed for most browsers and will not trigger anything (correct me if I’m wrong here).

Symbol for current, ongoing event

In my app I need to display an icon for an event which is currently ongoing. It’s a forecast app for forecasters, where they can issue a forecast in certain time window (event). I’m currently using a plane icon from fontawesome, but I’m not sure at all if it’s the best match for that, especially because my app has nothing to do with flights: enter image description here

I would like something more general, but I have no idea what could symbolize an ongoing event.

Event listing, filtering events with search

I’m working on UI for an event listing website. I have a dilemma. I want to include filters, without making the user think they have to use the search bar.

I curently have something like this

  1. Event listing when search is not being used: enter image description here

  2. Event listing when search is being used enter image description here

Anyways, the problem is this:

When the user visits the site – the “Today” filter is set as default. There is no “All events” filter button available to the user (too many events to list).

However, when the user uses search – the “All events” filter appears and becomes active.

My logic is – if the user uses search – he is most likely interested in all the instances of the keyword (let’s say the user searches for a band – he most likely wants to know WHEN are they playing and less likely to answer if they are playing “today”).

  1. The problem is, would the user get confused because of the sudden apperiance of the “All events filter”.

  2. The second problem is: if the user is interested in “this month”. So he changes from “all events” to “this month”, and then wants to search for something else – should the search jump again on “all events” or stay on “this month”.

Update / refresh mini cart, after custom AJAX add_to_cart event

I need help

In my custom single-product.php template, I added the button

public function AddToCartButton() {     global $  product;      if($  product->is_type('variable') || $  product->get_stock_status() !== 'instock') {         $  disabled_btn_class = 'btn-am--disabled';     } else {         $  disabled_btn_class = '';     }      $  echo = '<form class="cart single-product-cart" method="post" action="woocommerce_ajax_add_to_cart" enctype="multipart/form-data">';     $  echo .= '<button type="submit" class="single_add_to_cart_button button alt btn-am btn-am--red '. $  disabled_btn_class .'" data-url="'. admin_url("admin-ajax.php").'"> ' . esc_html( $  product->single_add_to_cart_text() ) .'</button>';     $  echo .= '<input type="hidden" name="add-to-cart" value="'. absint( $  product->get_id() ) .'" />';     $  echo .= '<input type="hidden" name="product_id" value="'. absint( $  product->get_id() ) .'" />';     $  echo .= '<input type="hidden" name="quantity" value="1" />';     $  echo .= '<input type="hidden" name="variation_id" class="variation_id" value="0" />';     $  echo .= '</form>';      return $  echo; } 

Custom AJAX call

public function __construct() {     add_action('wp_ajax_woocommerce_ajax_add_to_cart', [$  this, 'ajax_add_to_cart']);     add_action('wp_ajax_nopriv_woocommerce_ajax_add_to_cart', [$  this, 'ajax_add_to_cart']); }  function ajax_add_to_cart() {     $  product_id         = apply_filters('woocommerce_add_to_cart_product_id', absint($  _POST['product_id']));     $  quantity           = empty($  _POST['quantity']) ? 1 : wc_stock_amount($  _POST['quantity']);     $  variation_id       = absint($  _POST['variation_id']);     $  passed_validation  = apply_filters('woocommerce_add_to_cart_validation', true, $  product_id, $  quantity);     $  product_status     = get_post_status($  product_id);      if ($  passed_validation && WC()->cart->add_to_cart($  product_id, $  quantity, $  variation_id) && 'publish' === $  product_status) {          do_action('woocommerce_ajax_added_to_cart', $  product_id);          if ('yes' === get_option('woocommerce_cart_redirect_after_add')) {             wc_add_to_cart_message(array($  product_id => $  quantity), true);         }      } else {          $  data = array(             'error' => true,             'product_url' => apply_filters('woocommerce_cart_redirect_after_error', get_permalink($  product_id), $  product_id));          echo wp_send_json($  data);     }      wp_die(); } 

This code works, and if refresh page, item added to cart, but this not work with hook woocommerce_add_to_cart_fragments

And in my functions.php I have this code for refresh update cart

add_filter( 'woocommerce_add_to_cart_fragments', 'wc_mini_cart_ajax_refresh' ); function wc_mini_cart_ajax_refresh( $  fragments ) { $  fragments['#mcart-stotal'] = '<div id="mcart-stotal" class="mini-cart-footer__total">'.WC()->cart->get_cart_subtotal().'</div>'; ob_start(); echo '<div id="mcart-widget">'; woocommerce_mini_cart(); echo '</div>'; $  fragments['#mcart-widget'] = ob_get_clean();  return $  fragments; 


And this hook works fine, but not for my custom AJAX button, why this happen?

Calculated column with multiple options depending on start date of event compared to today

I’m attempting to create a column (“30, 60, 90, +”) that reports if an entry is within 30, 60, or 90 days out. One field is “Start Date” and I want the field to report ’30’ if the start date is within 30 days from today, ’60’ between 31-60 days from today, and ’90’ for between 61-90; with ‘+’ being the entry beyond that timeframe.
Is this doable?

How to solve “256966901 Bluetooth: hclo: unexpected event for opcode 0xfc2f” Message during Boot in Ubuntu 19.04?

Every time I boot into Ubuntu 19.04 it shows this message. This doesn’t cause any problem. The system Boots Up correctly and Bluetooth is also functioning properly. But why this is happening I don’t know. And this is annoying..

How can I display recurring Events in CQWP with item type “event”?

I have a CQWP to display a list of upcoming events for the next 2 weeks of every calendar on a site collection. To do so, I use a filter Attribute only available when choosing “event” to be the item type of the CQWP.

Unfortunatly, I don’t see any recurring events in the result apart from the very first appearance of the events.

I did find a TechNet thread, suggesting to use “item” as the item type of the CQWP – but this doesn’t work for me because with this item type I lose the ability to filter by event’s start date.

Is there any other possibilty to show recurring events in a CQWP when using “event” as item type?


Moudhafer’s answer did help me to apply the custom query I need to the CQWP when using the item type “item”. But still, there aren’t any recurring events appearing for more than the very first time in the result. I did make sure to use item type “item” and that the feature “team collaboration lists” is enabled as described in the TechNet thread I mentioned above.

I guess, there must be more to it than that … Any ideas?

Approval for event creation in Sharepoint Calendar

I tried creating a workflow and made my manager the person who would get the notification and was expecting her to have the power to reject the event creation but I was allowed to create the event, although she was just notified.

Now to support the above statement I should tell you that I am trying to make a system in Sharepoint Calendar so that whenever a person tries to schedule a meeting or event, it should first go to the person of authority and should only appear on the calendar when that person of authority has approved it.

I even tried creating a Microsoft Flow for it, but wasn’t able to because the Calendar doesn’t show up in the list of ‘Lists’.

I just want to know if this is the correct way of achieving that, and if yes what am I doing wrong? If no, then what’s the better way?