Title: Hackers: CSS File with spy code?
Last modified: August 21, 2016

---

# Hackers: CSS File with spy code?

 *  [wirtschaft.com](https://wordpress.org/support/users/wirtschaft/)
 * (@wirtschaft)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/hackers-css-file-with-spy-code/)
 * Hi
    Can anybody tell me, what this code does exactly? I found it in a CSS-file.
   Regards, aufwind
 *     ```
       var findPosts;(function(a){findPosts={open:function(e,d){var c=document.documentElement.scrollTop||a(document).scrollTop(),b=a(".ui-find-overlay");if(b.length==0){a("body").append('<div class="ui-find-overlay"></div>');findPosts.overlay()}b.show();if(e&&d){a("#affected").attr("name",e).val(d)}a("#find-posts").show().draggable({handle:"#find-posts-head"}).css({top:c+50+"px",left:"50%",marginLeft:"-328px"});a("#find-posts-input").focus().keyup(function(f){if(f.which==27){findPosts.close()}});findPosts.send();return false},close:function(){a("#find-posts-response").html("");a("#find-posts").draggable("destroy").hide();a(".ui-find-overlay").hide()},overlay:function(){a(".ui-find-overlay").css({"z-index":"999",width:a(document).width()+"px",height:a(document).height()+"px"}).on("click",function(){findPosts.close()})},send:function(){var b={ps:a("#find-posts-input").val(),action:"find_posts",_ajax_nonce:a("#_ajax_nonce").val()},c=a(".find-box-search .spinner");c.show();a.ajax({type:"POST",url:ajaxurl,data:b,success:function(d){findPosts.show(d);c.hide()},error:function(d){findPosts.error(d);c.hide()}})},show:function(b){if(typeof(b)=="string"){this.error({responseText:b});return}var c=wpAjax.parseAjaxResponse(b);if(c.errors){this.error({responseText:wpAjax.broken})}c=c.responses[0];a("#find-posts-response").html(c.data);a(".found-posts td").on("click",function(){a(this).parent().find(".found-radio input").prop("checked",true)})},error:function(b){var c=b.statusText;if(b.responseText){c=b.responseText.replace(/<.[^<>]*?>/g,"")}if(c){a("#find-posts-response").html(c)}}};a(document).ready(function(){a("#find-posts-submit").click(function(b){if(""==a("#find-posts-response").html()){b.preventDefault()}});a("#find-posts .find-box-search :input").keypress(function(b){if(13==b.which){findPosts.send();return false}});a("#find-posts-search").click(findPosts.send);a("#find-posts-close").click(findPosts.close);a("#doaction, #doaction2").click(function(b){a('select[name^="action"]').each(function(){if(a(this).val()=="attach"){b.preventDefault();findPosts.open()}})})});a(window).resize(function(){findPosts.overlay()})})(jQuery);
       ```
   

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [lettergrade](https://wordpress.org/support/users/lettergrade/)
 * (@lettergrade)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/hackers-css-file-with-spy-code/#post-4154907)
 * Looks like a copy-paste accident to me, but I’m interested to hear any other,
   broader conspiracy theories. 😉
 * Where did you find it?
 *  Thread Starter [wirtschaft.com](https://wordpress.org/support/users/wirtschaft/)
 * (@wirtschaft)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/hackers-css-file-with-spy-code/#post-4154918)
 * I found it here: wp-admin/css/media.css which should be a CSS-file normally.
 *  [Clayton James](https://wordpress.org/support/users/claytonjames/)
 * (@claytonjames)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/hackers-css-file-with-spy-code/#post-4154924)
 * I think that’s from media.min.js – normally located at /wp-admin/js/media.min.
   js
 * Here’s the actual file if you want to compare the contents.
 * [http://core.trac.wordpress.org/browser/branches/3.6/wp-admin/js/media.min.js](http://core.trac.wordpress.org/browser/branches/3.6/wp-admin/js/media.min.js)
 *  Thread Starter [wirtschaft.com](https://wordpress.org/support/users/wirtschaft/)
 * (@wirtschaft)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/hackers-css-file-with-spy-code/#post-4154928)
 * Yes, that’s it. No aliens 😉 I sleep better now.
 *  [lettergrade](https://wordpress.org/support/users/lettergrade/)
 * (@lettergrade)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/hackers-css-file-with-spy-code/#post-4154945)
 * Heheh, good to hear.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Hackers: CSS File with spy code?’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 3 participants
 * Last reply from: [lettergrade](https://wordpress.org/support/users/lettergrade/)
 * Last activity: [12 years, 9 months ago](https://wordpress.org/support/topic/hackers-css-file-with-spy-code/#post-4154945)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
