Exploit databaseDownload repository ZIP
GH-1615919550439d2f818f9bf6b428941b
8081knights/knights-8081-power-play-2022
Sources for CVE-2019-11358
1,181 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files86
8081knights/knights-8081-power-play-2022Revision 5dcd00c2546a
- ↑..Parent directory
- images/
- samples/
- FtcBlocksProjects_common.js
- FtcBlocks_common.js
- acceleration.js
- acceleration_sensor.js
- analog_input.js
- analog_output.js
- android_accelerometer.js
- android_gyroscope.js
- android_orientation.js
- android_sound_pool.js
- android_text_to_speech.js
- angular_velocity.js
- bno055imu.js
- bno055imu_parameters.js
- clipboard_util.js
- color.js
- color_range_sensor.js
- color_sensor.js
- compass_sensor.js
- cr_servo.js
- dbg_log.js
- dc_motor.js
- digital_channel.js
- distance_sensor.js
- elapsed_time.js
- elapsed_time2.js
- file_manager.js
- gamepad.js
- gyro_sensor.js
- hardware_util.js
- images.css
- ir_seeker_sensor.js
- led.js
- led_effect.js
- light_sensor.js
- linear_op_mode.js
- locale.js
- magnetic_flux.js
- matrix_f.js
- misc.js
- mr_i2c_compass_sensor.js
- mr_i2c_range_sensor.js
- navigation.js
- open_gl_matrix.js
- optical_distance_sensor.js
- orientation.js
- pidf_coefficients.js
- position.js
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
TeamCode/build/intermediates/assets/debug/mergeDebugAssets/blocks/dbg_log.js
JavaScript · 2,951 bytes/**
* @license
* Copyright 2016 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* @fileoverview FTC robot blocks related to DbgLog.
* @author lizlooney@google.com (Liz Looney)
*/
// The following are generated dynamically in HardwareUtil.fetchJavaScriptForHardware():
// dbgLogIdentifierForJavaScript
// The following are defined in vars.js:
// functionColor
// Functions
Blockly.Blocks['dbgLog_msg'] = {
init: function() {
this.appendDummyInput()
.appendField('call')
.appendField(createNonEditableField('DbgLog'))
.appendField('.')
.appendField(createNonEditableField('msg'));
this.appendValueInput('MESSAGE').setCheck('String')
.appendField('message')
.setAlign(Blockly.ALIGN_RIGHT);
this.setPreviousStatement(true);
this.setNextStatement(true);
this.setColour(functionColor);
this.setTooltip('Log a debug message.');
}
};
Blockly.JavaScript['dbgLog_msg'] = function(block) {
var message = Blockly.JavaScript.valueToCode(
block, 'MESSAGE', Blockly.JavaScript.ORDER_COMMA);
return dbgLogIdentifierForJavaScript + '.msg(' + message + ');\n';
};
Blockly.FtcJava['dbgLog_msg'] = function(block) {
var message = Blockly.FtcJava.valueToCode(
block, 'MESSAGE', Blockly.FtcJava.ORDER_COMMA);
Blockly.FtcJava.generateImport_('RobotLog');
return 'RobotLog.ii("DbgLog", ' + message + ');\n';
};
Blockly.Blocks['dbgLog_error'] = {
init: function() {
this.appendDummyInput()
.appendField('call')
.appendField(createNonEditableField('DbgLog'))
.appendField('.')
.appendField(createNonEditableField('error'));
this.appendValueInput('MESSAGE').setCheck('String')
.appendField('message')
.setAlign(Blockly.ALIGN_RIGHT);
this.setPreviousStatement(true);
this.setNextStatement(true);
this.setColour(functionColor);
this.setTooltip('Log a debug message.');
}
};
Blockly.JavaScript['dbgLog_error'] = function(block) {
var message = Blockly.JavaScript.valueToCode(
block, 'MESSAGE', Blockly.JavaScript.ORDER_COMMA);
return dbgLogIdentifierForJavaScript + '.error(' + message + ');\n';
};
Blockly.FtcJava['dbgLog_error'] = function(block) {
var message = Blockly.FtcJava.valueToCode(
block, 'MESSAGE', Blockly.FtcJava.ORDER_COMMA);
Blockly.FtcJava.generateImport_('RobotLog');
return 'RobotLog.ee("DbgLog", ' + message + ');\n';
};